aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c
index f1df08390..41662308c 100644
--- a/test/test.c
+++ b/test/test.c
@@ -328,9 +328,9 @@ msg_t TestThread(void *p) {
test_println("***");
test_print("*** Kernel: ");
test_println(CH_KERNEL_VERSION);
-#ifdef __GNUC__
- test_print("*** GCC Version: ");
- test_println(__VERSION__);
+#ifdef CH_COMPILER_NAME
+ test_print("*** Compiler: ");
+ test_println(CH_COMPILER_NAME);
#endif
test_print("*** Architecture: ");
test_println(CH_ARCHITECTURE_NAME);
@@ -338,6 +338,10 @@ msg_t TestThread(void *p) {
test_print("*** Core Variant: ");
test_println(CH_CORE_VARIANT_NAME);
#endif
+#ifdef CH_PORT_INFO
+ test_print("*** Port Info: ");
+ test_println(CH_PORT_INFO);
+#endif
#ifdef PLATFORM_NAME
test_print("*** Platform: ");
test_println(PLATFORM_NAME);