From 4907ec2164700045939b6ee4331133018e1092a2 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 30 Mar 2016 14:57:20 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9185 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/lib/ch_test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/lib/ch_test.c b/test/lib/ch_test.c index 454890ce6..65f9ec9af 100644 --- a/test/lib/ch_test.c +++ b/test/lib/ch_test.c @@ -233,13 +233,16 @@ msg_t test_execute(BaseSequentialStream *stream) { test_println("***"); test_print("*** Compiled: "); test_println(__DATE__ " - " __TIME__); -#ifdef PLATFORM_NAME +#if defined(PLATFORM_NAME) test_print("*** Platform: "); test_println(PLATFORM_NAME); #endif -#ifdef BOARD_NAME +#if defined(BOARD_NAME) test_print("*** Test Board: "); test_println(BOARD_NAME); +#endif +#if defined(TEST_REPORT_HOOK_HEADER) + TEST_REPORT_HOOK_HEADER #endif test_println(""); @@ -283,6 +286,10 @@ msg_t test_execute(BaseSequentialStream *stream) { else test_println("SUCCESS"); +#if defined(TEST_REPORT_HOOK_END) + TEST_REPORT_HOOK_END +#endif + return (msg_t)test_global_fail; }