Skip to content

Commit 6843bf6

Browse files
authored
Use the correct test name for SKIP_TESTS (#4221)
1 parent 0835250 commit 6843bf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if (BUILD_TESTS)
118118
if(PARSE_INCONCLUSIVE)
119119
set(INCONCLUSIVE "--inconclusive")
120120
endif()
121-
if (${TEST_NAME} IN_LIST SKIP_TESTS)
121+
if ("cfg-${TEST_NAME}" IN_LIST SKIP_TESTS)
122122
else()
123123
# TODO: add syntax check
124124
add_test(NAME cfg-${TEST_NAME}

0 commit comments

Comments
 (0)