From 7488f80be74d44ade983e88398060324b84dad4d Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 4 Jun 2016 15:14:56 +0200 Subject: [PATCH] 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 --- tests/examples/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/examples/CMakeLists.txt b/tests/examples/CMakeLists.txt index 9e3477854..7458e7ca5 100644 --- a/tests/examples/CMakeLists.txt +++ b/tests/examples/CMakeLists.txt @@ -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)