mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix printing of slow tests with -T in run-test262 (#563)
It's currently printing them whenever a test takes one millisecond or
longer to complete.
Introduced in commit 7db24cc0da
from earlier today, mea culpa.
This commit is contained in:
parent
7db24cc0da
commit
6d63b36c0a
1 changed files with 1 additions and 1 deletions
|
@ -1976,7 +1976,7 @@ void run_test_dir_list(namelist_t *lp, int start_index, int stop_index)
|
||||||
} else {
|
} else {
|
||||||
int msec = 0;
|
int msec = 0;
|
||||||
run_test(p, test_index, &msec);
|
run_test(p, test_index, &msec);
|
||||||
if (verbose > 1 || (msec > 0 && msec >= slow_test_threshold))
|
if (verbose > 1 || (slow_test_threshold && msec >= slow_test_threshold))
|
||||||
fprintf(stderr, "%s (%d ms)\n", p, msec);
|
fprintf(stderr, "%s (%d ms)\n", p, msec);
|
||||||
show_progress(FALSE);
|
show_progress(FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue