[app][tests][clock_test] keep running the test after the first failure

This commit is contained in:
Travis Geiselbrecht
2015-12-02 18:32:28 -08:00
parent 38a5e7bd4f
commit 720dc32335

View File

@@ -58,6 +58,8 @@ void clock_tests(void)
//printf("%lu %lu\n", last, t);
if (TIME_LT(t, last)) {
printf("WARNING: time ran backwards: %lu < %lu\n", t, last);
last = t;
continue;
}
last = t;
if (last - start > 5000)
@@ -73,6 +75,8 @@ void clock_tests(void)
//printf("%llu %llu\n", last, t2);
if (t2 < last) {
printf("WARNING: time ran backwards: %llu < %llu\n", t2, last);
last = t2;
continue;
}
last = t2;
if (last - start > 5000000)