We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8d3c87 + bed2650 commit f08e14cCopy full SHA for f08e14c
tests/API/probes/CMakeLists.txt
@@ -39,11 +39,13 @@ target_include_directories(oval_fts_list PUBLIC
39
target_link_libraries(oval_fts_list openscap)
40
add_oscap_test("fts.sh")
41
42
-add_oscap_test_executable(test_memusage
43
- "test_memusage.c"
44
- "${CMAKE_SOURCE_DIR}/src/common/bfind.c"
45
-)
46
-target_include_directories(test_memusage PUBLIC
47
- "${CMAKE_SOURCE_DIR}/src/common"
48
49
-add_oscap_test("test_memusage.sh")
+if(OS_LINUX)
+ add_oscap_test_executable(test_memusage
+ "test_memusage.c"
+ "${CMAKE_SOURCE_DIR}/src/common/bfind.c"
+ )
+ target_include_directories(test_memusage PUBLIC
+ "${CMAKE_SOURCE_DIR}/src/common"
50
+ add_oscap_test("test_memusage.sh")
51
+endif(OS_LINUX)
0 commit comments