diff options
Diffstat (limited to 'gcc/selftest-run-tests.c')
-rw-r--r-- | gcc/selftest-run-tests.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/selftest-run-tests.c b/gcc/selftest-run-tests.c index d57ba99..63d6e07 100644 --- a/gcc/selftest-run-tests.c +++ b/gcc/selftest-run-tests.c @@ -48,7 +48,7 @@ selftest::run_tests () option-handling. */ path_to_selftest_files = flag_self_test; - long start_time = get_run_time (); + test_runner r ("-fself-test"); /* Run all the tests, in hand-coded order of (approximate) dependencies: run the tests for lowest-level code first. */ @@ -109,14 +109,7 @@ selftest::run_tests () failed to be finalized can be detected by valgrind. */ forcibly_ggc_collect (); - /* Finished running tests. */ - long finish_time = get_run_time (); - long elapsed_time = finish_time - start_time; - - fprintf (stderr, - "-fself-test: %i pass(es) in %ld.%06ld seconds\n", - num_passes, - elapsed_time / 1000000, elapsed_time % 1000000); + /* Finished running tests; the test_runner dtor will print a summary. */ } #endif /* #if CHECKING_P */ |