Skip to content

Commit ec7cebe

Browse files
Add CORE label to unit-xfail and java-unit-xfail tests
These tests were missing the CORE label, so they were excluded from coverage collection (ctest -V -L CORE). This meant XFAIL test code never executed during coverage runs, producing 0% coverage for any changes to XFAIL tests. Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>
1 parent 3c1eee2 commit ec7cebe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

jbmc/unit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ add_test(
4343
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
4444
)
4545

46-
set_tests_properties(java-unit PROPERTIES LABELS "CORE;CBMC")
46+
set_tests_properties(java-unit java-unit-xfail PROPERTIES LABELS "CORE;CBMC")

unit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ add_test(
111111
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
112112
)
113113

114-
set_tests_properties(unit PROPERTIES LABELS "CORE;CBMC")
114+
set_tests_properties(unit unit-xfail PROPERTIES LABELS "CORE;CBMC")

0 commit comments

Comments
 (0)