[rawfs] Do not mark tests on FreeBSD as "must fail"

This commit is contained in:
Adriaan de Groot 2024-06-20 19:43:50 +02:00
parent 3d4b408c93
commit 991be792c0

View File

@ -5,8 +5,10 @@
# Special cases for rawfs tests
#
# - On FreeBSD, /proc/mounts doesn't exist (/proc is only about processes,
# and is rarely used). Expect the test to fail.
# and is rarely used). The test would fail, except it catches that
# kind of error and ends up doing nothing.
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set_tests_properties(load-rawfs-1 PROPERTIES WILL_FAIL TRUE)
# set_tests_properties(load-rawfs-1 PROPERTIES WILL_FAIL TRUE)
message(STATUS "rawfs tests are useless on FreeBSD")
endif()