From: Stefano Lattarini Date: Wed, 1 May 2013 22:27:46 +0000 (+0200) Subject: tests: improve debugging output in checks on make flags analysis X-Git-Tag: v1.13.1d~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d017b54baba7d6eadab6394da6ee62f0a83b1238;p=thirdparty%2Fautomake.git tests: improve debugging output in checks on make flags analysis * t/make-dryrun.tap: Here. * t/make-keepgoing.tap: And here. Signed-off-by: Stefano Lattarini --- diff --git a/t/make-dryrun.tap b/t/make-dryrun.tap index 2fd37a24d..c7d8963da 100755 --- a/t/make-dryrun.tap +++ b/t/make-dryrun.tap @@ -39,10 +39,10 @@ cat > Makefile.am <<'END' all: : Dummy, nothing to do. run: - @echo ":: $$MAKEFLAGS ::"; : For debugging. + @echo ":: $$MAKEFLAGS :: $$MFLAGS ::" ;: For debugging. $(am__make_dryrun) && exit 1; echo ok > from-run dry: - +@echo ":: $$MAKEFLAGS ::"; : For debugging. + +@echo ":: $$MAKEFLAGS :: $$MFLAGS ::" ;: For debugging. +$(am__make_dryrun) || exit 1; echo ok > from-dry END diff --git a/t/make-keepgoing.tap b/t/make-keepgoing.tap index a71d2d0eb..0e416caf5 100755 --- a/t/make-keepgoing.tap +++ b/t/make-keepgoing.tap @@ -33,10 +33,10 @@ cat > Makefile.am <<'END' all: @echo 'Default target $@ should not be called'>&2; exit 1; k-y: - @echo ":: $$MAKEFLAGS ::" ;: For debugging. + @echo ":: $$MAKEFLAGS :: $$MFLAGS ::" ;: For debugging. $(am__make_keepgoing) k-n: - @echo ":: $$MAKEFLAGS ::" ;: For debugging. + @echo ":: $$MAKEFLAGS :: $$MFLAGS ::" ;: For debugging. $(am__make_keepgoing) && exit 1; exit 0 END