diff options
author | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-01 18:54:39 +0000 |
---|---|---|
committer | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-01 18:54:39 +0000 |
commit | ded736d4f7b4ece3a78fcd69aa7e55922b39cf5f (patch) | |
tree | ede5c14a0fd29ed7c892a2506ba4c1b276ec882e /gcc/testsuite/lib/objc-torture.exp | |
parent | 9cc64f48d7ed1763569fd75492b8ef09a8486f00 (diff) | |
download | gcc-ded736d4f7b4ece3a78fcd69aa7e55922b39cf5f.tar.gz |
* lib/objc.exp (objc_target_compile): Add the -I path to ObjC
header here...
* lib/objc-torture.exp (objc-torture-compile): ...instead of here
(objc-torture-execute): or here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55142 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/objc-torture.exp')
-rw-r--r-- | gcc/testsuite/lib/objc-torture.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/lib/objc-torture.exp b/gcc/testsuite/lib/objc-torture.exp index fbde5ec94ef..ec05da91d0d 100644 --- a/gcc/testsuite/lib/objc-torture.exp +++ b/gcc/testsuite/lib/objc-torture.exp @@ -81,7 +81,7 @@ proc objc-torture-compile { src option } { # Run the compiler and analyze the results. set options "" - lappend options "additional_flags=-w $option -I${srcdir}/../../libobjc" + lappend options "additional_flags=-w $option" set comp_output [objc_target_compile "$src" "$output" object $options]; objc_check_compile $testcase $option $output $comp_output @@ -160,7 +160,7 @@ proc objc-torture-execute { src args } { verbose "Testing $testcase, $option" 1 set options "" - lappend options "additional_flags=-w $option -I${srcdir}/../../libobjc" + lappend options "additional_flags=-w $option" if { $additional_flags != "" } { lappend options "additional_flags=$additional_flags"; } |