diff --git a/CMakeLists.txt b/CMakeLists.txt index 4fd9daf..e9983d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ option(run_unittests "set run_unittests to ON to run unittests (default is OFF)" option(run_e2e_tests "set run_e2e_tests to ON to run e2e tests (default is OFF). Chsare dutility does not have any e2e tests, but the option needs to exist to evaluate in IF statements" OFF) option(run_int_tests "set run_int_tests to ON to integration tests (default is OFF)." OFF) option(run_perf_tests "set run_perf_tests to ON to build performance tests (default is OFF)." OFF) +option(run_reals_check "set run_reals_check to ON to run reals check (default is OFF)." OFF) option(use_cppunittest "set use_cppunittest to ON to build CppUnitTest tests on Windows (default is OFF)" OFF) option(run_traceability "run traceability tool (default is ON)" ON) @@ -32,12 +33,14 @@ set(original_run_int_tests ${run_int_tests}) set(original_run_perf_tests ${run_perf_tests}) set(original_run_unittests ${run_unittests}) set(original_run_traceability ${run_traceability}) +set(original_run_reals_check ${run_reals_check}) set(run_e2e_tests OFF) set(run_int_tests OFF) set(run_perf_tests OFF) set(run_unittests OFF) set(run_traceability OFF) +set(run_reals_check OFF) if ((NOT TARGET c_build_tools) AND (EXISTS ${CMAKE_CURRENT_LIST_DIR}/deps/c-build-tools/CMakeLists.txt)) add_subdirectory(deps/c-build-tools) @@ -88,6 +91,7 @@ set(run_int_tests ${original_run_int_tests}) set(run_perf_tests ${original_run_perf_tests}) set(run_unittests ${original_run_unittests}) set(run_traceability ${original_run_traceability}) +set(run_reals_check ${original_run_reals_check}) add_subdirectory(deps/servicefabric) @@ -129,3 +133,7 @@ target_link_libraries(sf_c_util c_logging c_pal com_wrapper c_util) add_subdirectory(sfwrapper) add_subdirectory(tests) + +if(${run_reals_check}) + add_reals_check_target() +endif() diff --git a/build/devops_gated.yml b/build/devops_gated.yml index 52a6c73..a953c0d 100644 --- a/build/devops_gated.yml +++ b/build/devops_gated.yml @@ -39,10 +39,10 @@ jobs: modifyEnvironment: true - task: CMake@1 - displayName: 'CMake .. -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' + displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' inputs: workingDirectory: 'build_x64' - cmakeArgs: '.. -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' + cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=OFF -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' - task: VSBuild@1 displayName: 'Build solution build_x64\*.sln' @@ -97,10 +97,10 @@ jobs: modifyEnvironment: true - task: CMake@1 - displayName: 'CMake .. -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' + displayName: 'CMake .. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' inputs: workingDirectory: 'build_x64' - cmakeArgs: '.. -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' + cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64' - task: VSBuild@1 displayName: 'Build solution build_x64\*.sln' diff --git a/deps/c-build-tools b/deps/c-build-tools index 24b9848..c5b412c 160000 --- a/deps/c-build-tools +++ b/deps/c-build-tools @@ -1 +1 @@ -Subproject commit 24b9848576b255423c4dfeaa00a2809ed1d63911 +Subproject commit c5b412c8d071c3180e189a3036ee7a7faa355576 diff --git a/deps/c-logging b/deps/c-logging index c624bc8..f03eed3 160000 --- a/deps/c-logging +++ b/deps/c-logging @@ -1 +1 @@ -Subproject commit c624bc815f2217390d4b8f5e7927b1f849d3587c +Subproject commit f03eed3e2d43953aa54069f2ae268899572f8a3f diff --git a/deps/c-pal b/deps/c-pal index 2c1c789..3e158d9 160000 --- a/deps/c-pal +++ b/deps/c-pal @@ -1 +1 @@ -Subproject commit 2c1c789e081e34ffe39b41d29e3b67c3d66f35a6 +Subproject commit 3e158d96cc87378ef83af548e6821c7c9fbbcbcf diff --git a/deps/c-testrunnerswitcher b/deps/c-testrunnerswitcher index 28fd82f..994b415 160000 --- a/deps/c-testrunnerswitcher +++ b/deps/c-testrunnerswitcher @@ -1 +1 @@ -Subproject commit 28fd82f87417c4c97485f8c73be5fa5d80894907 +Subproject commit 994b415b6d6871f7b44c20ace0ba0355a9c1ccc2 diff --git a/deps/c-util b/deps/c-util index 1383dd1..dc3fd22 160000 --- a/deps/c-util +++ b/deps/c-util @@ -1 +1 @@ -Subproject commit 1383dd15118b0859346ca3a0f26b29113595df35 +Subproject commit dc3fd22b7f9f49f137da5b53a1277c3842293ffd diff --git a/deps/com-wrapper b/deps/com-wrapper index ce96204..876ebb3 160000 --- a/deps/com-wrapper +++ b/deps/com-wrapper @@ -1 +1 @@ -Subproject commit ce962044d600ae151623bfdcf6bf439ff8be8e6b +Subproject commit 876ebb38d451b335e7a6293940bc2dfbf06f0128 diff --git a/deps/ctest b/deps/ctest index 05c7bdc..035a6b9 160000 --- a/deps/ctest +++ b/deps/ctest @@ -1 +1 @@ -Subproject commit 05c7bdc81321fd0b84f4900b87ba2d8bf6b20ed8 +Subproject commit 035a6b9f097e6843b124b3e46f85a362ec834720 diff --git a/deps/macro-utils-c b/deps/macro-utils-c index 80ab1d1..89fd0a8 160000 --- a/deps/macro-utils-c +++ b/deps/macro-utils-c @@ -1 +1 @@ -Subproject commit 80ab1d164fbfb4c28d496ce4b0d500d28117bc64 +Subproject commit 89fd0a847ea3033a883d9fac4dbfa66fa8b42938 diff --git a/deps/umock-c b/deps/umock-c index 9e59f73..8e7f852 160000 --- a/deps/umock-c +++ b/deps/umock-c @@ -1 +1 @@ -Subproject commit 9e59f730f902c3f85a59b8d3f74bf6a807f4b020 +Subproject commit 8e7f8528ed93883abdd949f4c4a249fd6c1a3833