summaryrefslogtreecommitdiff
path: root/t/check7.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/check7.sh')
-rw-r--r--t/check7.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/t/check7.sh b/t/check7.sh
index 1dd918bb1..5d3cd5847 100644
--- a/t/check7.sh
+++ b/t/check7.sh
@@ -32,9 +32,8 @@ check_PROGRAMS = a c d
check_SCRIPTS = b
EXTRA_DIST = $(check_SCRIPTS)
-.PHONY: print-xfail-tests
-print-xfail-tests:
- @echo BEG: $(XFAIL_TESTS) :END
+expect-xfail-tests:
+ is $(XFAIL_TESTS) == a$(EXEEXT) b c$(EXEEXT) d$(EXEEXT)
END
cat > b <<'END'
@@ -60,8 +59,8 @@ $AUTOMAKE -a
./configure
$MAKE check
-run_make -O EXEEXT=.bin print-xfail-tests
-$FGREP 'BEG: a.bin b c.bin d.bin :END' stdout
+run_make expect-xfail-tests
+run_make expect-xfail-tests EXEEXT=.bin
$MAKE distcheck