aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-20 11:39:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-20 11:39:33 +0000
commit0fc33d47532b1b7727d576b3814498c8907b3c31 (patch)
tree0f4c6e10bc5dae96c0f0212f23ed0674fcfe29ce /test/test.c
parentee9a1b480bf34513eaf3494f27f13f2f80ca578c (diff)
downloadChibiOS-0fc33d47532b1b7727d576b3814498c8907b3c31.tar.gz
ChibiOS-0fc33d47532b1b7727d576b3814498c8907b3c31.tar.bz2
ChibiOS-0fc33d47532b1b7727d576b3814498c8907b3c31.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1644 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c17
1 files changed, 15 insertions, 2 deletions
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,12 +265,24 @@ 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("");
global_fail = FALSE;