diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-03 08:16:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-03 08:16:18 +0000 |
commit | 1a9cc2599eef7cddca853fc02997dc7543f1bb80 (patch) | |
tree | 75c6e3687f3822656b137c3c7d15577e296601bd /test | |
parent | edfe4ce4411e0b4f8f78db5c19bc6d553ac82a4f (diff) | |
download | ChibiOS-1a9cc2599eef7cddca853fc02997dc7543f1bb80.tar.gz ChibiOS-1a9cc2599eef7cddca853fc02997dc7543f1bb80.tar.bz2 ChibiOS-1a9cc2599eef7cddca853fc02997dc7543f1bb80.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1498 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 6 | ||||
-rw-r--r-- | test/test.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c index 623545318..774ab774d 100644 --- a/test/test.c +++ b/test/test.c @@ -277,9 +277,6 @@ msg_t TestThread(void *p) { while (patterns[i]) {
j = 0;
while (patterns[i][j]) {
-#if DELAY_BETWEEN_TESTS > 0
- chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
-#endif
print_line();
test_print("--- Test Case ");
test_printn(i + 1);
@@ -288,6 +285,9 @@ msg_t TestThread(void *p) { test_print(" (");
test_print(patterns[i][j]->gettest());
test_println(")");
+#if DELAY_BETWEEN_TESTS > 0
+ chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
+#endif
execute_test(patterns[i][j]);
if (local_fail) {
test_print("--- Result: FAILURE (#");
diff --git a/test/test.h b/test/test.h index c31caf633..500ffa6bd 100644 --- a/test/test.h +++ b/test/test.h @@ -33,7 +33,7 @@ #if defined(CH_ARCHITECTURE_AVR) || defined(CH_ARCHITECTURE_MSP430)
#define THREADS_STACK_SIZE 48
-#elif defined(CH_ARCHITECTURE_WIN32SIM)
+#elif defined(CH_ARCHITECTURE_SIMIA32)
#define THREADS_STACK_SIZE 512
#else
#define THREADS_STACK_SIZE 128
|