From a74ae75680b54520cd9a036ce1620b94b7f2a331 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Wed, 13 Mar 2019 18:18:42 +0100 Subject: [PATCH] run/nic_router foc x86_64: raise test timeout Fixes #2908 --- repos/libports/run/nic_router.run | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/repos/libports/run/nic_router.run b/repos/libports/run/nic_router.run index 8556cc18c..9a0f390b0 100644 --- a/repos/libports/run/nic_router.run +++ b/repos/libports/run/nic_router.run @@ -2,6 +2,14 @@ # Build components # +proc test_timeout { } { + if {[have_spec foc] && [have_spec x86_64] && [have_include power_on/qemu]} { + return 150 + } else { + return 60 + } +} + proc enable_test_1 { } { return 1 } proc enable_test_2 { } { return 1 } proc enable_test_3 { } { return 1 } @@ -368,4 +376,4 @@ for {set i 0} {$i < $nr_of_clients} {incr i 1} { append done_string {.*Test done.*\n} } -run_genode_until $done_string 60 +run_genode_until $done_string [test_timeout]