mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
tests/performance: print result in unique line
Previously, the result lines are not unique, for example Running test simple-construction Millions of constructed objects per second: 27.629 Running test simple-construction1 Millions of constructed objects per second: 151.879 ... That is undesirable, because we might want to parse the test results with a script, and that's easier when the line is unique. Change to: Running test simple-construction simple-construction: Millions of constructed objects per second: 27.629 Running test simple-construction1 simple-construction1: Millions of constructed objects per second: 151.879 ...
This commit is contained in:
parent
58e9e41757
commit
65a59bde57
@ -159,6 +159,7 @@ run_test (PerformanceTest *test)
|
||||
}
|
||||
|
||||
/* Print the results */
|
||||
g_print ("%s: ", test->name);
|
||||
test->print_result (test, data, min_elapsed);
|
||||
|
||||
/* Tear down */
|
||||
|
Loading…
Reference in New Issue
Block a user