Use the correct test name for SKIP_TESTS (#4221)

This commit is contained in:
Paul Fultz II 2022-06-19 12:26:49 -05:00 committed by GitHub
parent 0835250d7f
commit 6843bf628b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ if (BUILD_TESTS)
if(PARSE_INCONCLUSIVE)
set(INCONCLUSIVE "--inconclusive")
endif()
if (${TEST_NAME} IN_LIST SKIP_TESTS)
if ("cfg-${TEST_NAME}" IN_LIST SKIP_TESTS)
else()
# TODO: add syntax check
add_test(NAME cfg-${TEST_NAME}