diff options
| author | Janis Johnson <janis187@us.ibm.com> | 2008-11-26 18:51:07 +0000 |
|---|---|---|
| committer | Janis Johnson <janis@gcc.gnu.org> | 2008-11-26 18:51:07 +0000 |
| commit | d4038ca243dc612e06deeec2cb9dfd4e89a01962 (patch) | |
| tree | e9424f9335b74670488bd43cc1db6d9816d6b9a7 /libgomp | |
| parent | 13fd89472d1fdefb04d2d10a215fd162938773b6 (diff) | |
| download | gcc-d4038ca243dc612e06deeec2cb9dfd4e89a01962.tar.gz gcc-d4038ca243dc612e06deeec2cb9dfd4e89a01962.tar.bz2 gcc-d4038ca243dc612e06deeec2cb9dfd4e89a01962.zip | |
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 'libgomp')
| -rw-r--r-- | libgomp/ChangeLog | 6 | ||||
| -rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index ed7b7a1683a..0cdfba6d83f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2008-11-26 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/28870 + * testsuite/lib/libgomp.exp: Include new timeout library files. + (libgomp_target_compile): Set timeout value from new proc. + 2008-11-13 Steve Ellcey <sje@cup.hp.com> PR libgomp/37938 diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index f86f1a18ed0..4e2600ec5f7 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -22,6 +22,8 @@ load_gcc_lib target-libpath.exp load_gcc_lib wrapper.exp load_gcc_lib gcc-defs.exp load_gcc_lib torture-options.exp +load_gcc_lib timeout.exp +load_gcc_lib timeout-dg.exp load_gcc_lib gcc-dg.exp load_gcc_lib gfortran-dg.exp @@ -180,6 +182,7 @@ proc libgomp_target_compile { source dest type options } { } lappend options "additional_flags=[libio_include_flags]" + lappend options "timeout=[timeout_value]" lappend options "compiler=$GCC_UNDER_TEST" set options [concat $libgomp_compile_options $options] |
