summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/lib/libmudflap.exp
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2008-11-26 18:51:07 +0000
committerJanis Johnson <janis@gcc.gnu.org>2008-11-26 18:51:07 +0000
commitd4038ca243dc612e06deeec2cb9dfd4e89a01962 (patch)
treee9424f9335b74670488bd43cc1db6d9816d6b9a7 /libmudflap/testsuite/lib/libmudflap.exp
parent13fd89472d1fdefb04d2d10a215fd162938773b6 (diff)
downloadgcc-d4038ca243dc612e06deeec2cb9dfd4e89a01962.tar.gz
re PR testsuite/28870 (configuring, over-riding timeout values in testsuite)
gcc/ PR testsuite/28870 * doc/sourcebuild.texi (Test Directives): Add dg-timeout and dg-timeout-factor. gcc/testsuite/ PR testsuite/28870 * lib/timeout.exp: New. * lib/timeout-dg.exp: New. * lib/gcc-dg.exp: Include new timeout library files. (dg-test): Unset timeout variables. * lib/gcc.exp (gcc_target_compile): Set timeout value from new proc. * lib/g++.exp (g++_target_compile): Ditto. * lib/gfortran.exp (gfortran_target_compile): Ditto. * lib/objc.exp (objc_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/gnat.exp (gnat_target_compile): Ditto. libstdc++-v3/ PR testsuite/28870 * testsuite/lib/libstdc++.exp: Include new timeout library files. (libstdc++_init): Define tool_timeout. (dg-test): Override DejaGnu proc. (v3_target_compile): Set timeout value from new proc. (v3_target_compile_as_c): Ditto. libmudflap/ PR testsuite/28870 * testsuite/lib/mfdg.exp (dg-test): Use new timeout support. (dg-timeout): Remove. (standard-wait): Remove. * testsuite/lib/libmudflap.exp: Include new timeout library files. (libmudflap_target_compile): Set timeout value from new proc. libgomp/ PR testsuite/28870 * testsuite/lib/libgomp.exp: Include new timeout library files. (libgomp_target_compile): Set timeout value from new proc. From-SVN: r142225
Diffstat (limited to 'libmudflap/testsuite/lib/libmudflap.exp')
-rw-r--r--libmudflap/testsuite/lib/libmudflap.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmudflap/testsuite/lib/libmudflap.exp b/libmudflap/testsuite/lib/libmudflap.exp
index 94d060b3c75..1abd783c510 100644
--- a/libmudflap/testsuite/lib/libmudflap.exp
+++ b/libmudflap/testsuite/lib/libmudflap.exp
@@ -29,6 +29,8 @@ proc load_gcc_lib { filename } {
load_lib mfdg.exp
load_lib libgloss.exp
load_gcc_lib target-libpath.exp
+load_gcc_lib timeout.exp
+load_gcc_lib timeout-dg.exp
proc libmudflap-init { language } {
global env
@@ -213,6 +215,7 @@ proc libmudflap_target_compile { source dest type options } {
set cxx_final [concat $cxx_final $libs]
lappend options "compiler=$cxx_final"
+ lappend options "timeout=[timeout_value]"
# Picks up the freshly-built testsuite library corresponding to the
# multilib under test.