From ba2ff06045c441a2be4ecd923d38e614db48f964 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 17 Oct 2017 07:46:38 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10841 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/lib/ch_test.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'test/lib') diff --git a/test/lib/ch_test.c b/test/lib/ch_test.c index c78cebea2..f922146a6 100644 --- a/test/lib/ch_test.c +++ b/test/lib/ch_test.c @@ -229,11 +229,13 @@ msg_t test_execute(BaseSequentialStream *stream, const testsuite_t *tsp) { test_chp = stream; test_println(""); -#if defined(TEST_SUITE_NAME) - test_println("*** " TEST_SUITE_NAME); -#else - test_println("*** ChibiOS test suite"); -#endif + if (tsp->name != NULL) { + test_print("*** "); + test_println(tsp->name); + } + else { + test_println("*** Test Suite"); + } test_println("***"); test_print("*** Compiled: "); test_println(__DATE__ " - " __TIME__); -- cgit v1.2.3