summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/objc-torture.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a3265ba90c4..97a4b89d498 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 14 21:11:19 1998 Robert Lipe <robertl@dgii.com>
+
+ * lib/objc-torture.exp (objc-torture-execute): Add -I so we can
+ find objc headers.
+
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* compile/981001-4.c: Remove use of GCC extension that triggers a
diff --git a/gcc/testsuite/lib/objc-torture.exp b/gcc/testsuite/lib/objc-torture.exp
index 517d6ca5df4..5eadd489c47 100644
--- a/gcc/testsuite/lib/objc-torture.exp
+++ b/gcc/testsuite/lib/objc-torture.exp
@@ -169,7 +169,7 @@ proc objc-torture-execute { src } {
verbose "Testing $testcase, $option" 1
set options ""
- lappend options "additional_flags=-w $option"
+ lappend options "additional_flags=-w $option -I${srcdir}/../../libobjc"
set comp_output [objc_target_compile "$src" "$executable" executable $options];
# Set a few common compiler messages.