Skip the filesystem fact tests
These tests make various assumptions about filesystems being there, that
are not true for chroot/container build environments.
Apollon Oikonomopoulos
3 years ago
0 | From: Apollon Oikonomopoulos <apoikos@debian.org> | |
1 | Date: Tue, 25 Aug 2020 16:41:33 +0300 | |
2 | Subject: Do not run the filesystem fact tests | |
3 | ||
4 | The tests make various assumptions about filesystems being there, that | |
5 | do not necessarily hold in build environments such as chroots or | |
6 | containers. | |
7 | --- | |
8 | lib/tests/CMakeLists.txt | 1 - | |
9 | 1 file changed, 1 deletion(-) | |
10 | ||
11 | diff --git a/lib/tests/CMakeLists.txt b/lib/tests/CMakeLists.txt | |
12 | index 48f8e3a..5408766 100644 | |
13 | --- a/lib/tests/CMakeLists.txt | |
14 | +++ b/lib/tests/CMakeLists.txt | |
15 | @@ -107,7 +107,6 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin") | |
16 | elseif ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") | |
17 | set(LIBFACTER_TESTS_PLATFORM_SOURCES | |
18 | "facts/linux/dmi_resolver.cc" | |
19 | - "facts/linux/filesystem_resolver.cc" | |
20 | "facts/linux/virtualization_resolver.cc" | |
21 | "facts/linux/processor_fixture.cc" | |
22 | "facts/linux/processor_resolver.cc" |