Skip to content

Commit f47c686

Browse files
committed
Complete CTest label rollout for RPM probe suites
Apply the same label-based registration pattern to nested RPM probe test CMake files so selection behavior is consistent with the rest of the probe tree.
1 parent 66a72fe commit f47c686

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if(ENABLE_PROBES_LINUX)
2-
add_oscap_test("test_probes_rpminfo.sh")
3-
add_oscap_test("test_probes_rpminfo_offline.sh")
2+
add_oscap_test("test_probes_rpminfo.sh" LABELS linux linux_only)
3+
add_oscap_test("test_probes_rpminfo_offline.sh" LABELS linux linux_only)
44
endif()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if(ENABLE_PROBES_LINUX)
2-
add_oscap_test("test_probes_rpmverify_not_equals_operation.sh")
3-
add_oscap_test("test_probes_rpmverify_not_equals_operation_offline.sh")
2+
add_oscap_test("test_probes_rpmverify_not_equals_operation.sh" LABELS linux linux_only)
3+
add_oscap_test("test_probes_rpmverify_not_equals_operation_offline.sh" LABELS linux linux_only)
44
endif()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if(ENABLE_PROBES_LINUX)
2-
add_oscap_test("test_probes_rpmverifyfile.sh")
3-
add_oscap_test("test_probes_rpmverifyfile_older.sh")
4-
add_oscap_test("test_probes_rpmverifyfile_offline.sh")
2+
add_oscap_test("test_probes_rpmverifyfile.sh" LABELS linux linux_only)
3+
add_oscap_test("test_probes_rpmverifyfile_older.sh" LABELS linux linux_only)
4+
add_oscap_test("test_probes_rpmverifyfile_offline.sh" LABELS linux linux_only)
55
endif()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if(ENABLE_PROBES_LINUX)
2-
add_oscap_test("test_probes_rpmverifypackage.sh")
3-
add_oscap_test("test_probes_rpmverifypackage_offline.sh")
2+
add_oscap_test("test_probes_rpmverifypackage.sh" LABELS linux linux_only)
3+
add_oscap_test("test_probes_rpmverifypackage_offline.sh" LABELS linux linux_only)
44
endif()

0 commit comments

Comments
 (0)