X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fobjcxx-flags.sh;h=2dde42b9cdca5485f7b8c54ff7e3a74ee931be66;hb=b9951d654abb76c5419f1e2b453f1ca06fdb331b;hp=a948891da69d558f6136c21554a62e0687ed4870;hpb=c8d13b6142410d2641a13f1f4a38293b1b26cd05;p=platform%2Fupstream%2Fautomake.git diff --git a/t/objcxx-flags.sh b/t/objcxx-flags.sh index a948891..2dde42b 100755 --- a/t/objcxx-flags.sh +++ b/t/objcxx-flags.sh @@ -17,7 +17,7 @@ # Test Objective C++ compilation flags. # See also sister test 'objc-flags.sh'. -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_OBJCXX @@ -53,11 +53,11 @@ $AUTOCONF $AUTOMAKE -a $FGREP OBJCXXFLAGS Makefile.in # For debugging. -grep '\$(OBJCXXFLAGS).*\$(AM_OBJCXXFLAGS)' Makefile.in && Exit 1 -grep '\$(OBJCXXFLAGS).*\$(foo.*_OBJCXXFLAGS)' Makefile.in && Exit 1 -grep '\$(foo.*_OBJCXXFLAGS).*\$(AM_OBJCXXFLAGS)' Makefile.in && Exit 1 +grep '\$(OBJCXXFLAGS).*\$(AM_OBJCXXFLAGS)' Makefile.in && exit 1 +grep '\$(OBJCXXFLAGS).*\$(foo.*_OBJCXXFLAGS)' Makefile.in && exit 1 +grep '\$(foo.*_OBJCXXFLAGS).*\$(AM_OBJCXXFLAGS)' Makefile.in && exit 1 ./configure OBJCXXFLAGS=-UERROR -$MAKE +$MAKE :