We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3707b78 + e2a8edf commit 230ba68Copy full SHA for 230ba68
src/unit-tests/osloader-test/CMakeLists.txt
@@ -4,7 +4,9 @@ set(TEST_MODULE_FILES
4
ut_osloader_module_test.c
5
ut_osloader_symtable_test.c
6
ut_osloader_test.c)
7
-
+
8
+add_osal_ut_exe(osal_loader_UT ${TEST_MODULE_FILES})
9
10
# build many copies of the test module
11
# we need to have unique modules to load up to OS_MAX_MODULES
12
# This will cover up to 32 -- extras are ignored. If needed this can be increased.
@@ -16,7 +18,5 @@ while(MOD GREATER 0)
16
18
COMPILE_DEFINITIONS "MODULE_NAME=module${MOD}"
17
19
PREFIX ""
20
LIBRARY_OUTPUT_DIRECTORY eeprom1)
21
+ add_dependencies(osal_loader_UT MODULE${MOD})
22
endwhile(MOD GREATER 0)
-add_osal_ut_exe(osal_loader_UT ${TEST_MODULE_FILES})
0 commit comments