aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.c6
-rw-r--r--test/test.h2
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