diff options
author | Janis Johnson <janis187@us.ibm.com> | 2008-11-26 18:51:07 +0000 |
---|---|---|
committer | Janis Johnson <janis187@us.ibm.com> | 2008-11-26 18:51:07 +0000 |
commit | 8eb45a58d77fbae1421bee0ffba6e763477f391d (patch) | |
tree | e9424f9335b74670488bd43cc1db6d9816d6b9a7 /libgomp/testsuite/lib | |
parent | 92c326c87cfa778ebe483c6ed78cd6f621ab8029 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@142225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/lib')
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 3 |
1 files changed, 3 insertions, 0 deletions
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] |