Skip to content

Commit ed4b725

Browse files
committed
cmake: print testsuite name only once
1 parent 0b0ac38 commit ed4b725

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/capi/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ target_link_libraries(
2727
>
2828
)
2929

30+
message(STATUS "Add Lua C API test suite")
31+
3032
# The following condition looks unnecessary, it was added to fix
3133
# an issue for Sydr: in the Lua external project in the build
3234
# system the explicit build command is used:
@@ -100,7 +102,6 @@ function(create_test)
100102
add_test(NAME ${test_name}
101103
COMMAND ${SHELL} -c "$<TARGET_FILE:${test_name}> ${LIBFUZZER_OPTS}"
102104
)
103-
message(STATUS "Creating Lua C API test ${test_name}")
104105
if (USE_LUA)
105106
set_tests_properties(${test_name} PROPERTIES
106107
ENVIRONMENT "ASAN_OPTIONS='detect_invalid_pointer_pairs=2'"

0 commit comments

Comments
 (0)