aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc
diff options
context:
space:
mode:
authorIain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>2010-03-24 22:52:47 +0000
committerJanis Johnson <janis@gcc.gnu.org>2010-03-24 22:52:47 +0000
commit5e599ebb7dfdbbfefe346bc5a2731746a905b643 (patch)
tree2072fcb7218f4f64d1e3de60890f956a3892ec7c /gcc/testsuite/objc
parent9debda96f54bfe9cbc2dbecc580d5099765432fe (diff)
downloadgcc-5e599ebb7dfdbbfefe346bc5a2731746a905b643.zip
gcc-5e599ebb7dfdbbfefe346bc5a2731746a905b643.tar.gz
gcc-5e599ebb7dfdbbfefe346bc5a2731746a905b643.tar.bz2
re PR testsuite/41609 (Torture tests do not check "trivial.{m,mm}" for each run case.)
2010-03-24 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> PR testsuite/41609 * lib/objc-torture.exp (objc-set-runtime-options): New. * objc/execute/execute.exp: Check runtime options on each pass. * objc/execute/exceptions/exceptions.exp: Ditto. * objc/compile/compile.exp: Ditto. From-SVN: r157716
Diffstat (limited to 'gcc/testsuite/objc')
-rw-r--r--gcc/testsuite/objc/compile/compile.exp3
-rw-r--r--gcc/testsuite/objc/execute/exceptions/exceptions.exp4
-rw-r--r--gcc/testsuite/objc/execute/execute.exp3
3 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/objc/compile/compile.exp b/gcc/testsuite/objc/compile/compile.exp
index a892736..da28021 100644
--- a/gcc/testsuite/objc/compile/compile.exp
+++ b/gcc/testsuite/objc/compile/compile.exp
@@ -27,7 +27,8 @@ load_lib objc-torture.exp
load_lib torture-options.exp
torture-init
-set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS
+objc-set-runtime-options "compile"
+set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS
#
# main test loop
diff --git a/gcc/testsuite/objc/execute/exceptions/exceptions.exp b/gcc/testsuite/objc/execute/exceptions/exceptions.exp
index bd0f993..60d833e 100644
--- a/gcc/testsuite/objc/execute/exceptions/exceptions.exp
+++ b/gcc/testsuite/objc/execute/exceptions/exceptions.exp
@@ -25,13 +25,13 @@ if $tracelevel then {
set additional_flags ""
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
+objc-set-runtime-options "execute" "additional_flags=-fobjc-exceptions"
+set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS
#
# main test loop
diff --git a/gcc/testsuite/objc/execute/execute.exp b/gcc/testsuite/objc/execute/execute.exp
index 4985d96..539c4fb 100644
--- a/gcc/testsuite/objc/execute/execute.exp
+++ b/gcc/testsuite/objc/execute/execute.exp
@@ -28,7 +28,8 @@ load_lib objc-torture.exp
load_lib torture-options.exp
torture-init
-set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS
+objc-set-runtime-options "execute"
+set-torture-options $OBJC_TORTURE_OPTIONS $OBJC_RUNTIME_OPTIONS
#
# main test loop