From 693676304a75550e53a019e584b252ca05a0e9a5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 10 Aug 2021 11:22:52 +0200 Subject: [PATCH] updates for internal unit tester call --- mission/core/GenericFactory.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mission/core/GenericFactory.cpp b/mission/core/GenericFactory.cpp index 217a7f3..3341c6a 100644 --- a/mission/core/GenericFactory.cpp +++ b/mission/core/GenericFactory.cpp @@ -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 */