mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
gobject/tests/performance: Only run a quick version as installed-tests
ginsttest-runner defaults to timing out each test after 5 minutes, but gobject/tests/performance/performance.c defaults to running each of 18 tests for 15 seconds. The result is close enough to 5 minutes that the setup overhead is enough to make it time out. We're only running these tests to prove that they still work, not to get meaningful performance numbers, so cut them down to 1 second per test-case (the result of which is that performance.c takes about a minute). Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
0714bcb7f4
commit
72868c026d
@ -20,7 +20,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
if install
|
||||
test_conf = configuration_data()
|
||||
test_conf.set('installed_tests_dir', installed_tests_execdir)
|
||||
test_conf.set('program', test_name)
|
||||
test_conf.set('program', '@0@ --seconds 1'.format(test_name))
|
||||
test_conf.set('env', '')
|
||||
configure_file(
|
||||
input: installed_tests_template,
|
||||
|
Loading…
Reference in New Issue
Block a user