updates for internal unit tester call

This commit is contained in:
Robin Müller 2021-08-10 11:22:52 +02:00
parent cf8552e950
commit 693676304a
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1,6 +1,7 @@
#include "GenericFactory.h"
#include "OBSWConfig.h"
#include "fsfw/FSFW.h"
#include "tmtc/apid.h"
#include "tmtc/pusIds.h"
#include "objects/systemObjectList.h"
@ -121,6 +122,10 @@ void ObjectFactory::produceGenericObjects() {
#if OBSW_PERFORM_INTERNAL_UNITTEST == 1
InternalUnitTester::TestConfig testCfg;
testCfg.testArrayPrinter = false;
#if defined FSFW_OSAL_HOST
// Not implemented yet for hosted OSAL (requires C++20)
testCfg.testSemaphores = false;
#endif
InternalUnitTester unittester;
unittester.performTests(testCfg);
#endif /* OBSW_PERFORM_INTERNAL_UNITTEST == 1 */