objc-torture.exp: Add -I so we can find objc headers.
authorRobert Lipe <robertl@dgii.com>
Wed, 14 Oct 1998 14:13:56 +0000 (14:13 +0000)
committerOvidiu Predescu <ovidiu@gcc.gnu.org>
Wed, 14 Oct 1998 14:13:56 +0000 (14:13 +0000)
From-SVN: r23086

gcc/testsuite/ChangeLog
gcc/testsuite/lib/objc-torture.exp

index a3265ba90c470da318ab9d687ad4c8ee45571069..97a4b89d4984a2ae13f46278fd9292d2515fa2c1 100644 (file)
@@ -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
index 517d6ca5df455a86d899983c722f44b6628ba50c..5eadd489c47f143a5f78aa6930cfb243eb12b413 100644 (file)
@@ -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.