From 72868c026d5df70a0b4729c9dad193df3ee4961a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 24 Jul 2022 17:34:55 +0100 Subject: [PATCH] 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 --- gobject/tests/performance/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/tests/performance/meson.build b/gobject/tests/performance/meson.build index 63297f460..22bf79da0 100644 --- a/gobject/tests/performance/meson.build +++ b/gobject/tests/performance/meson.build @@ -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,