Skip to content

Commit 23204ab

Browse files
committed
cmake: print testsuite name only once
1 parent 5c90663 commit 23204ab

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:
@@ -108,7 +110,6 @@ function(create_test)
108110
add_test(NAME ${test_name}
109111
COMMAND ${SHELL} -c "$<TARGET_FILE:${test_name}> ${LIBFUZZER_OPTS}"
110112
)
111-
message(STATUS "Creating Lua C API test ${test_name}")
112113
if (USE_LUA)
113114
set_tests_properties(${test_name} PROPERTIES
114115
ENVIRONMENT "ASAN_OPTIONS='detect_invalid_pointer_pairs=2'"

0 commit comments

Comments
 (0)