aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/objc.exp
diff options
context:
space:
mode:
authorDavid Ayers <ayers@fsfe.org>2009-04-30 16:03:44 +0000
committerDavid Ayers <ayers@gcc.gnu.org>2009-04-30 16:03:44 +0000
commit512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe (patch)
tree94255314b2005ce3f4e0e276991b46168cfae023 /gcc/testsuite/lib/objc.exp
parentee56ac9def714d225c4c7d1020390241780595c0 (diff)
downloadgcc-512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe.zip
gcc-512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe.tar.gz
gcc-512e7d7fb0d968c92c85f3cc3c73c3eaea993dfe.tar.bz2
objc.exp (objc_init): Add and set gcc_warning_prefix and gcc_error_prefix variables.
2009-04-30 David Ayers <ayers@fsfe.org> * lib/objc.exp (objc_init): Add and set gcc_warning_prefix and gcc_error_prefix variables. * objc.dg/bad-receiver-type.m: Update to match correct diagnostics marker. * objc.dg/encode-5.m: Likewise. * objc.dg/id-1.m: Likewise. * objc.dg/method-1.m: Likewise. * objc.dg/method-6.m: Likewise. * objc.dg/method-7.m: Likewise. * objc.dg/method-9.m: Likewise. * objc.dg/method-11.m: Likewise. * objc.dg/method-20.m: Likewise. * objc.dg/private-1.m: Likewise. From-SVN: r147006
Diffstat (limited to 'gcc/testsuite/lib/objc.exp')
-rw-r--r--gcc/testsuite/lib/objc.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index e763fc2..934f31d 100644
--- a/gcc/testsuite/lib/objc.exp
+++ b/gcc/testsuite/lib/objc.exp
@@ -95,6 +95,8 @@ proc objc_init { args } {
global OBJC_UNDER_TEST
global TOOL_EXECUTABLE
global objc_libgcc_s_path
+ global gcc_warning_prefix
+ global gcc_error_prefix
# We set LC_ALL and LANG to C so that we get the same error messages as expected.
setenv LC_ALL C
@@ -114,6 +116,9 @@ proc objc_init { args } {
set tmpdir /tmp
}
+ set gcc_warning_prefix "warning:"
+ set gcc_error_prefix "error:"
+
objc_maybe_build_wrapper "${tmpdir}/objc-testglue.o"
set objc_libgcc_s_path [gcc-set-multilib-library-path $OBJC_UNDER_TEST]