diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-06-11 19:49:46 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-06-15 10:08:43 +0200 |
| commit | 11423980972f3c3f92ab6b08abde94e1a8d66ba4 (patch) | |
| tree | cda7c98ef50ec491365195741261ebbb1553274c /libs | |
| parent | 04ce1cbebc8e45bda7c2ada79c917f5dfa9c6525 (diff) | |
| download | kernel-11423980972f3c3f92ab6b08abde94e1a8d66ba4.tar.xz kernel-11423980972f3c3f92ab6b08abde94e1a8d66ba4.zip | |
bht: improve test resporting
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/acpi/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | libs/kstd/CMakeLists.txt | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt index 1d03bb5..d48922f 100644 --- a/libs/acpi/CMakeLists.txt +++ b/libs/acpi/CMakeLists.txt @@ -114,5 +114,11 @@ if(BUILD_TESTING) EXCLUDE_FROM_ALL NO ) - catch_discover_tests("acpi::tests" ${CATCH_TEST_ARGS}) + file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bht_results") + + catch_discover_tests("acpi::tests" + RERPORTER junit + OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/bht_results" + OUTPUT_SUFFIX ".xml" + ) endif() diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt index 99ce0c8..9bf91b6 100644 --- a/libs/kstd/CMakeLists.txt +++ b/libs/kstd/CMakeLists.txt @@ -97,5 +97,11 @@ if(BUILD_TESTING) enable_coverage("kstd_tests") endif() - catch_discover_tests("kstd::tests" ${CATCH_TEST_ARGS}) + file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bht_results") + + catch_discover_tests("kstd::tests" + RERPORTER junit + OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/bht_results" + OUTPUT_SUFFIX ".xml" + ) endif()
\ No newline at end of file |
