summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-04-11 14:12:29 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-04-12 09:21:10 +0200
commit0dace9b52a4bdaa11fa9ff57be25932361676f31 (patch)
tree02ae9dcdd4f69f71860c82906a82bab80816c956
parenta2479b95c0d44d3d5cea77ce1703407b4be6fb92 (diff)
build: meson: increase timeout for some tests
Some tests, when run in parallel, can take more than the default timeout (30 seconds). Increase the timeout for them.
-rw-r--r--src/platform/tests/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/platform/tests/meson.build b/src/platform/tests/meson.build
index 3e0c1b1047..efba349ba4 100644
--- a/src/platform/tests/meson.build
+++ b/src/platform/tests/meson.build
@@ -1,6 +1,6 @@
test_units = [
- ['test-link-fake', 'test-link.c'],
- ['test-link-linux', 'test-link.c'],
+ ['test-link-fake', 'test-link.c', 60],
+ ['test-link-linux', 'test-link.c', 60],
['test-address-fake', 'test-address.c'],
['test-address-linux', 'test-address.c'],
['test-general', 'test-general.c'],
@@ -22,6 +22,7 @@ foreach test_unit: test_units
test(
'platform-' + test_unit[0],
test_script,
+ timeout: test_unit.length() > 2 ? test_unit[2] : 30,
args: test_args + [exe.full_path()]
)
endforeach