aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index 9574a0f0e..ed9b04b91 100644
--- a/test/test.c
+++ b/test/test.c
@@ -237,11 +237,11 @@ msg_t TestThread(void *p) {
global_fail = FALSE;
i = 0;
while (patterns[i]) {
+ j = 0;
+ while (patterns[i][j]) {
#if DELAY_BETWEEN_TESTS > 0
chThdSleepMilliseconds(DELAY_BETWEEN_TESTS);
#endif
- j = 0;
- while (patterns[i][j]) {
test_println("---------------------------------------------------------------------------");
test_print("--- Test Case ");
test_printn(i + 1);