summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/gnat.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/gnat.exp')
-rw-r--r--gcc/testsuite/lib/gnat.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/gnat.exp b/gcc/testsuite/lib/gnat.exp
index 2ff7997284a..af120b0610b 100644
--- a/gcc/testsuite/lib/gnat.exp
+++ b/gcc/testsuite/lib/gnat.exp
@@ -27,6 +27,7 @@
load_lib libgloss.exp
load_lib prune.exp
load_lib gcc-defs.exp
+load_lib timeout.exp
#
# GNAT_UNDER_TEST is the compiler under test.
@@ -131,6 +132,7 @@ proc gnat_target_compile { source dest type options } {
set ld_library_path ".:${gnat_libgcc_s_path}"
lappend options "compiler=$GNAT_UNDER_TEST -q -f"
lappend options "incdir=${rootme}/ada/rts"
+ lappend options "timeout=[timeout_value]
if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } {
lappend options "libs=${gluefile}"