Properly set alarm value in gdb.threads/non-stop-fair-events.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / non-stop-fair-events.exp
index 9b7b9ca2696af006001d31abb06cbf8cd9e3ffb7..e2d3f7d43d4fc4f8ef17793e3d0c8f148206f525 100644 (file)
@@ -24,7 +24,8 @@ if [target_info exists gdb,nosignals] {
     return -1
 }
 
-if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug pthreads}] == -1} {
+set options { "additional_flags=-DTIMEOUT=$timeout" debug pthreads }
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile $options] == -1} {
     return -1
 }
 
This page took 0.025907 seconds and 4 git commands to generate.