From c9f115ad254fbbf739f6e3f916370393d2914d23 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 8 Jan 2002 17:35:09 +0000 Subject: [PATCH] special.exp: Add -I${srcdir}/../../libobjc for header files. 2002-01-08 H.J. Lu * objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc for header files. From-SVN: r48647 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/objc.dg/special/special.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 36eba4c336c..4b432d82204 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-01-08 H.J. Lu + + * objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc + for header files. + 2002-01-08 Geoff Keating * gcc.dg/altivec-4.c: Make the 'char' entries signed also for diff --git a/gcc/testsuite/objc.dg/special/special.exp b/gcc/testsuite/objc.dg/special/special.exp index 09552a72ad6..464af9898e4 100644 --- a/gcc/testsuite/objc.dg/special/special.exp +++ b/gcc/testsuite/objc.dg/special/special.exp @@ -33,11 +33,11 @@ dg-init # This test is special because we must compile two different modules, # unclaimed-category-1a.m and unclaimed-category-1.m, then link # together, then run the resulting executable. -set lines [objc_target_compile "$srcdir/$subdir/unclaimed-category-1a.m" "unclaimed-category-1a.o" object ""] +set lines [objc_target_compile "$srcdir/$subdir/unclaimed-category-1a.m" "unclaimed-category-1a.o" object "additional_flags=-I${srcdir}/../../libobjc"] if ![string match "" $lines] then { fail "unclaimed-category-1a.o" } else { - dg-runtest "$srcdir/$subdir/unclaimed-category-1.m" "unclaimed-category-1a.o" "" + dg-runtest "$srcdir/$subdir/unclaimed-category-1.m" "unclaimed-category-1a.o" "-I${srcdir}/../../libobjc" file delete unclaimed-category-1a.o } -- 2.30.2