File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717 cmake -S test -B build/ \
1818 -G "Unix Makefiles" \
1919 -DCMAKE_BUILD_TYPE=Debug \
20- -DBUILD_UNIT_TESTS =ON \
20+ -DUNITTEST =ON \
2121 -DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror'
2222 make -C build/ all
2323 - name : Test
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set( UNIT_TEST_DIR ${MODULE_ROOT_DIR}/test/unit-test CACHE INTERNAL "backoffAlgo
2222set ( UNITY_DIR ${UNIT_TEST_DIR} /Unity CACHE INTERNAL "Unity library source directory." )
2323
2424# Configure options to always show in CMake GUI.
25- option ( BUILD_UNIT_TESTS
25+ option ( UNITTEST
2626 "Set this to ON to build unit tests. This will clone the required Unity test framework submodule if it is not cloned already."
2727 OFF )
2828
@@ -62,7 +62,7 @@ endif()
6262
6363# ==================================== Unit Test Configuration ====================================
6464
65- if (${BUILD_UNIT_TESTS } )
65+ if (${UNITTEST } )
6666
6767 # Include Unity build configuration.
6868 include ( unit-test /unity_build.cmake )
You can’t perform that action at this time.
0 commit comments