diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-17 14:49:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-17 14:49:51 +0000 |
commit | e0b53350156cef01da9b83e46127f7322e967909 (patch) | |
tree | 75602acbe4a0acc047cf117161311e0a6905f8b1 /test | |
parent | b793081d9605192373ea4fc1c1d7d5ca6e46e546 (diff) | |
download | ChibiOS-e0b53350156cef01da9b83e46127f7322e967909.tar.gz ChibiOS-e0b53350156cef01da9b83e46127f7322e967909.tar.bz2 ChibiOS-e0b53350156cef01da9b83e46127f7322e967909.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2966 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 10 | ||||
-rw-r--r-- | test/testbmk.c | 8 |
2 files changed, 12 insertions, 6 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);
diff --git a/test/testbmk.c b/test/testbmk.c index 6c878f557..54da81fd8 100644 --- a/test/testbmk.c +++ b/test/testbmk.c @@ -635,9 +635,11 @@ ROMCONST struct testcase testbmk12 = { static void bmk13_execute(void) {
test_print("--- System: ");
- test_printn(sizeof(ReadyList) + sizeof(VTList) + IDLE_THREAD_STACK_SIZE +
- (sizeof(Thread) + sizeof(struct intctx) + sizeof(struct extctx) +
- INT_REQUIRED_STACK) * 2);
+ test_printn(sizeof(ReadyList) + sizeof(VTList) +
+ PORT_IDLE_THREAD_STACK_SIZE +
+ (sizeof(Thread) + sizeof(struct intctx) +
+ sizeof(struct extctx) +
+ PORT_INT_REQUIRED_STACK) * 2);
test_println(" bytes");
test_print("--- Thread: ");
test_printn(sizeof(Thread));
|