diff options
author | Janis Johnson <janis187@us.ibm.com> | 2008-05-15 16:59:21 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2008-05-15 16:59:21 +0000 |
commit | 91a5b3943e8999959d65206ae75ae63d488ffa43 (patch) | |
tree | 2ffbd01efc340633337eba4c40af7b02847eb65f /gcc/testsuite/objc | |
parent | 3044d369519284bc36ef3f1e15335e34f28c0860 (diff) | |
download | gcc-91a5b3943e8999959d65206ae75ae63d488ffa43.zip gcc-91a5b3943e8999959d65206ae75ae63d488ffa43.tar.gz gcc-91a5b3943e8999959d65206ae75ae63d488ffa43.tar.bz2 |
libgomp.exp: Load torture-options.exp from gcc lib.
libgomp:
* testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib.
gcc/doc:
* doc/sourcebuild.texi: Document support for torture tests.
gcc/testsuite:
* lib/torture-options.exp: New support for torture options.
* lib/gfortran-dg.exp (gfortran-dg-runtest): Use new torture
procs.
* lib/c-torture.exp: Define C_TORTURE_OPTIONS instead of
TORTURE_OPTIONS; don't define torture_with_loops and
torture_without_loops.
* lib/gcc-dg.exp: Define DG_TORTURE_OPTIONS instead of
TORTURE_OPTIONS; don't define torture_with_loops and
torture_without_loops.
(gcc-dg-runtest): Use new torture procs if no torture options
defined.
* lib/fortran-torture.exp: Define FORTRAN_TORTURE_OPTIONS instead of
TORTURE_OPTIONS.
(fortran-torture-execute): Use torture_with_loops instead of
TORTURE_OPTIONS.
(fortran-torture): Ditto.
* lib/objc-torture.exp: Define OBJC_TORTURE_OPTIONS instead of
TORTURE_OPTIONS; don't define torture_with_loops and
torture_without_loops.
* gcc.c-torture/execute/execute.exp: Use new torture procs.
* gcc.c-torture/execute/builtins/builtins.exp: Ditto.
* gcc.c-torture/execute/ieee/ieee.exp: Ditto.
* gcc.c-torture/unsorted/unsorted.exp: Ditto.
* gfortran.fortran-torture/execute/execute.exp: Ditto.
* gfortran.fortran-torture/compile/compile.exp: Ditto.
* gcc.target/x86_64/abi/abi-x86_64.exp: Ditto.
* gcc.target/i386/math-torture/math-torture.exp: Define
MATH_TORTURE_OPTIONS, use new torture procs.
* gcc.dg/pch/pch.exp: Use new torture procs.
* gcc.dg/format/format.exp: Ditto.
* gcc.misc-tests/i386-prefetch.exp: Ditto.
* gcc.misc-tests/dectest.exp: Ditto.
* objc.dg/pch/pch.exp: Ditto.
* objc/execute/execute.exp: Ditto.
* objc/execute/exceptions/exceptions.exp: Ditto.
* objc/compile/compile.exp: Ditto.
From-SVN: r135381
Diffstat (limited to 'gcc/testsuite/objc')
-rw-r--r-- | gcc/testsuite/objc/compile/compile.exp | 6 | ||||
-rw-r--r-- | gcc/testsuite/objc/execute/exceptions/exceptions.exp | 6 | ||||
-rw-r--r-- | gcc/testsuite/objc/execute/execute.exp | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/compile/compile.exp b/gcc/testsuite/objc/compile/compile.exp index 08d2632..0f6a7e9 100644 --- a/gcc/testsuite/objc/compile/compile.exp +++ b/gcc/testsuite/objc/compile/compile.exp @@ -23,6 +23,10 @@ if $tracelevel then { # load support procs load_lib objc-torture.exp +load_lib torture-options.exp + +torture-init +set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS # # main test loop @@ -36,3 +40,5 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.m]] { objc-torture $src } + +torture-finish diff --git a/gcc/testsuite/objc/execute/exceptions/exceptions.exp b/gcc/testsuite/objc/execute/exceptions/exceptions.exp index 271a617..d3a3738 100644 --- a/gcc/testsuite/objc/execute/exceptions/exceptions.exp +++ b/gcc/testsuite/objc/execute/exceptions/exceptions.exp @@ -27,6 +27,10 @@ lappend additional_flags "-fobjc-exceptions" # load support procs load_lib objc-torture.exp +load_lib torture-options.exp + +torture-init +set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS # # main test loop @@ -40,3 +44,5 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.m]] { objc-torture-execute $src $additional_flags } + +torture-finish diff --git a/gcc/testsuite/objc/execute/execute.exp b/gcc/testsuite/objc/execute/execute.exp index 38329f1..c69d9f4 100644 --- a/gcc/testsuite/objc/execute/execute.exp +++ b/gcc/testsuite/objc/execute/execute.exp @@ -24,6 +24,10 @@ if $tracelevel then { # load support procs load_lib objc-torture.exp +load_lib torture-options.exp + +torture-init +set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS # # main test loop @@ -37,3 +41,5 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.m]] { objc-torture-execute $src } + +torture-finish |