replace test configuration with regex match

This commit is contained in:
Alfi Maulana
2023-01-22 13:07:56 +07:00
parent c2bf81f4d3
commit 354c02b686
2 changed files with 6 additions and 4 deletions

View File

@@ -28,5 +28,5 @@ foreach(LANG ${LANGS})
$<$<BOOL:${CHECK_USING_CLANG}>:CHECK_USING_CLANG>
$<$<BOOL:${CHECK_SURPASS_WARNING}>:CHECK_SURPASS_WARNING>
)
add_test(NAME test_${LANG} CONFIGURATIONS test COMMAND $<TARGET_FILE:test_${LANG}>)
add_test(NAME test_${LANG} COMMAND $<TARGET_FILE:test_${LANG}>)
endforeach()