From 991be792c0c8751feca27e58ce9e8a756ff154eb Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 20 Jun 2024 19:43:50 +0200 Subject: [PATCH] [rawfs] Do not mark tests on FreeBSD as "must fail" --- src/modules/rawfs/tests/CMakeTests.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/rawfs/tests/CMakeTests.txt b/src/modules/rawfs/tests/CMakeTests.txt index ed4c37485..c31bba964 100644 --- a/src/modules/rawfs/tests/CMakeTests.txt +++ b/src/modules/rawfs/tests/CMakeTests.txt @@ -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()