aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/ch_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ch_test.c')
-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;
}