updates for internal unit tester call
This commit is contained in:
parent
cf8552e950
commit
693676304a
@ -1,6 +1,7 @@
|
|||||||
#include "GenericFactory.h"
|
#include "GenericFactory.h"
|
||||||
|
|
||||||
#include "OBSWConfig.h"
|
#include "OBSWConfig.h"
|
||||||
|
#include "fsfw/FSFW.h"
|
||||||
#include "tmtc/apid.h"
|
#include "tmtc/apid.h"
|
||||||
#include "tmtc/pusIds.h"
|
#include "tmtc/pusIds.h"
|
||||||
#include "objects/systemObjectList.h"
|
#include "objects/systemObjectList.h"
|
||||||
@ -121,6 +122,10 @@ void ObjectFactory::produceGenericObjects() {
|
|||||||
#if OBSW_PERFORM_INTERNAL_UNITTEST == 1
|
#if OBSW_PERFORM_INTERNAL_UNITTEST == 1
|
||||||
InternalUnitTester::TestConfig testCfg;
|
InternalUnitTester::TestConfig testCfg;
|
||||||
testCfg.testArrayPrinter = false;
|
testCfg.testArrayPrinter = false;
|
||||||
|
#if defined FSFW_OSAL_HOST
|
||||||
|
// Not implemented yet for hosted OSAL (requires C++20)
|
||||||
|
testCfg.testSemaphores = false;
|
||||||
|
#endif
|
||||||
InternalUnitTester unittester;
|
InternalUnitTester unittester;
|
||||||
unittester.performTests(testCfg);
|
unittester.performTests(testCfg);
|
||||||
#endif /* OBSW_PERFORM_INTERNAL_UNITTEST == 1 */
|
#endif /* OBSW_PERFORM_INTERNAL_UNITTEST == 1 */
|
||||||
|
Loading…
Reference in New Issue
Block a user