tests/example/: Print status messages

Running the tests sadly takes much to long. Since I don't have a good idea what
to do about this (I'd like to run all tests in a single Lua process, but that
doesn't seem to be possible easily), instead let's just make it more explicit
what is being done. This commit prints a message for each test that is being
run.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-06-04 15:14:56 +02:00
parent ca074dc689
commit 7488f80be7
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,9 @@ foreach(file ${test_files})
if ((NOT "${file}" MATCHES ".*/shims/.*")
AND (NOT "${file}" MATCHES ".*/template.lua"))
file(RELATIVE_PATH relative_file "${SOURCE_DIR}" "${file}")
message(STATUS "Running ${relative_file}...")
# Get the file name without the extension
get_filename_component(TEST_FILE_NAME ${file} NAME_WE)