Skip to content

Commit f9756ad

Browse files
committed
Fix name for stig_srg_mapping_test
1 parent 862eaf1 commit f9756ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ macro(ssg_refcheck_test PRODUCT PROFILE KEY)
229229
set_tests_properties("refchecker-${PRODUCT}-${PROFILE}" PROPERTIES LABELS quick)
230230
endmacro()
231231

232-
macro(stig_srg_mapping PRODUCT)
232+
macro(stig_srg_mapping_test PRODUCT)
233233
add_test(
234234
NAME "stig-srg-mapping-${PRODUCT}"
235235
COMMAND env "PYTHONPATH=$ENV{PYTHONPATH}" "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/stig_srg_mapping.py" --prefix "SRG-OS" --build-root "${CMAKE_BINARY_DIR}" --root "${CMAKE_SOURCE_DIR}" ${PRODUCT}
@@ -247,23 +247,23 @@ if(PYTHON_VERSION_MAJOR GREATER 2 AND SSG_PRODUCT_RHEL9)
247247
ssg_refcheck_test("rhel9" "ccn_advanced" "ccn")
248248
# This exclude can be removed once enable_authselect has a stigid
249249
ssg_refcheck_test("rhel9" "stig" "stigid" "enable_authselect")
250-
stig_srg_mapping("rhel9")
250+
stig_srg_mapping_test("rhel9")
251251
endif()
252252

253253
if(PYTHON_VERSION_MAJOR GREATER 2 AND SSG_PRODUCT_RHEL8)
254254
ssg_refcheck_test("rhel8" "cis_workstation_l1" "cis")
255255
ssg_refcheck_test("rhel8" "cis_workstation_l2" "cis")
256256
ssg_refcheck_test("rhel8" "cis_server_l1" "cis")
257257
ssg_refcheck_test("rhel8" "cis" "cis")
258-
stig_srg_mapping("rhel8")
258+
stig_srg_mapping_test("rhel8")
259259
endif()
260260

261261
if(PYTHON_VERSION_MAJOR GREATER 2 AND SSG_PRODUCT_RHEL7)
262262
ssg_refcheck_test("rhel7" "cis_workstation_l1" "cis")
263263
ssg_refcheck_test("rhel7" "cis_workstation_l2" "cis")
264264
ssg_refcheck_test("rhel7" "cis_server_l1" "cis")
265265
ssg_refcheck_test("rhel7" "cis" "cis")
266-
stig_srg_mapping("rhel7")
266+
stig_srg_mapping_test("rhel7")
267267
endif()
268268

269269
macro(ssg_controlrefcheck_test PRODUCT CONTROL KEY)

0 commit comments

Comments
 (0)