]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix some bugs in an XFAILing test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 2 Jan 2015 14:26:12 +0000 (15:26 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 6 Jan 2015 10:25:37 +0000 (11:25 +0100)
* t/subobj-vpath-pr13928.sh: This one. The test would have failed (or
hung!) even if the bug it was testing against were fixed.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/subobj-vpath-pr13928.sh

index a10d657762345010e0a75d140bf54cc3a6dfb8ec..265832b4f4382bd2e276a04876f5a6995cab75ba 100644 (file)
@@ -33,7 +33,7 @@ AUTOMAKE_OPTIONS = subdir-objects
 noinst_PROGRAMS = test
 test_SOURCES = $(srcdir)/test.c
 test-objs:
-       test ! -f $(srcdir)/test.$(OBJEXT)
+       test ! -f '@srcdir@/test.$(OBJEXT)'
        test -f test.$(OBJEXT)
 END
 
@@ -42,7 +42,7 @@ $ACLOCAL && $AUTOCONF && $AUTOMAKE -a || fatal_ "autotools failed"
 $EGREP 'test\.|DEPDIR|dirstamp|srcdir' Makefile.in || : # For debugging.
 $EGREP '\$.srcdir./test\.[o$]' Makefile.in && exit 1
 $FGREP '$(srcdir)/$(am__dirstamp)' Makefile.in && exit 1
-$FGREP '$(srcdir)/$(DEPDIR)' && exit 1
+$FGREP '$(srcdir)/$(DEPDIR)' Makefile.in && exit 1
 
 cat > test.c << 'END'
 int main (void)