Skip to content

Commit

Permalink
Merge pull request #1948 from OpenSCAP/revert-1946-fix-1945
Browse files Browse the repository at this point in the history
Revert "enable test_memusage only if OS_LINUX is defined"
  • Loading branch information
evgenyz authored Feb 28, 2023
2 parents f08e14c + 1630ea2 commit 68e30ef
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions tests/API/probes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ target_include_directories(oval_fts_list PUBLIC
target_link_libraries(oval_fts_list openscap)
add_oscap_test("fts.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"
)
add_oscap_test("test_memusage.sh")
endif(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"
)
add_oscap_test("test_memusage.sh")

0 comments on commit 68e30ef

Please sign in to comment.