From 0fc33d47532b1b7727d576b3814498c8907b3c31 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 20 Feb 2010 11:39:33 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1644 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/test.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test.c b/test/test.c index 774ab774d..33a971e08 100644 --- a/test/test.c +++ b/test/test.c @@ -18,6 +18,7 @@ */ #include "ch.h" +#include "hal.h" #include "test.h" #include "testthd.h" @@ -264,11 +265,23 @@ msg_t TestThread(void *p) { test_println("***"); test_print("*** Kernel: "); test_println(CH_KERNEL_VERSION); - test_print("*** Architecture: "); - test_println(CH_ARCHITECTURE_NAME); #ifdef __GNUC__ test_print("*** GCC Version: "); test_println(__VERSION__); +#endif + test_print("*** Architecture: "); + test_println(CH_ARCHITECTURE_NAME); +#ifdef CH_CORE_VARIANT_NAME + test_print("*** Core Variant: "); + test_println(CH_CORE_VARIANT_NAME); +#endif +#ifdef PLATFORM_NAME + test_print("*** Platform: "); + test_println(PLATFORM_NAME); +#endif +#ifdef BOARD_NAME + test_print("*** Test Board: "); + test_println(BOARD_NAME); #endif test_println(""); -- cgit v1.2.3