summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-24 22:52:47 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-24 22:52:47 +0000
commit6a99666adef759d3d32f4f56ed4e9f63f0848fbd (patch)
tree2072fcb7218f4f64d1e3de60890f956a3892ec7c /gcc/testsuite/objc
parent161ed364e987cfa318b915e5be2a1cc618b927c7 (diff)
downloadgcc-6a99666adef759d3d32f4f56ed4e9f63f0848fbd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157716 138bc75d-0d04-0410-961f-82ee72b054a4
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 a892736bb62..da280212fce 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 bd0f9938ecf..60d833e593c 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 4985d966d6d..539c4fbf07b 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