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:
parent
ca074dc689
commit
7488f80be7
|
@ -227,6 +227,9 @@ foreach(file ${test_files})
|
||||||
if ((NOT "${file}" MATCHES ".*/shims/.*")
|
if ((NOT "${file}" MATCHES ".*/shims/.*")
|
||||||
AND (NOT "${file}" MATCHES ".*/template.lua"))
|
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 the file name without the extension
|
||||||
get_filename_component(TEST_FILE_NAME ${file} NAME_WE)
|
get_filename_component(TEST_FILE_NAME ${file} NAME_WE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue