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.
This commit is contained in:
Beniamino Galvani 2018-04-11 14:12:29 +02:00
parent a2479b95c0
commit 0dace9b52a

View file

@ -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