aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-30 14:57:20 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-30 14:57:20 +0000
commit4907ec2164700045939b6ee4331133018e1092a2 (patch)
treef0a065a53b3ba1870ba1a44f83965ecdf09fe92a /test/lib
parent30f2e5da93a58738281431d4fc7de966915f97b0 (diff)
downloadChibiOS-4907ec2164700045939b6ee4331133018e1092a2.tar.gz
ChibiOS-4907ec2164700045939b6ee4331133018e1092a2.tar.bz2
ChibiOS-4907ec2164700045939b6ee4331133018e1092a2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9185 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/ch_test.c11
1 files 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,14 +233,17 @@ 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("");
test_global_fail = FALSE;
@@ -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;
}