From: Stefano Lattarini Date: Wed, 19 Jun 2013 14:32:24 +0000 (+0200) Subject: tests: avoid spurious failures in Linux -> MinGW cross-compilation mode X-Git-Tag: v1.14~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=5fed69b66e6ccce2ebf65d8bdc9b2227f15f6f3c;p=platform%2Fupstream%2Fautomake.git tests: avoid spurious failures in Linux -> MinGW cross-compilation mode * t/ccnoc-deps.sh: Here. * t/preproc-demo.sh: And here. Signed-off-by: Stefano Lattarini --- diff --git a/t/ccnoco-deps.sh b/t/ccnoco-deps.sh index d4931d5..5d9e9b8 100755 --- a/t/ccnoco-deps.sh +++ b/t/ccnoco-deps.sh @@ -42,7 +42,7 @@ check-deps: all grep 'stdio\.h' $(DEPDIR)/foo.Po grep 'foobar\.h' $(DEPDIR)/foo.Po check-updated: all - is_newest foo foobar.h + is_newest foo$(EXEEXT) foobar.h END # We deliberately don't invoke AM_PROG_CC_C_O here. diff --git a/t/preproc-demo.sh b/t/preproc-demo.sh index 1f29057..8d16e92 100644 --- a/t/preproc-demo.sh +++ b/t/preproc-demo.sh @@ -142,7 +142,6 @@ END cat > lib/tests/gnulib-check.am <<'END' check_PROGRAMS += %D%/safe-print-test TESTS += $(check_PROGRAMS) -AM_TESTS_ENVIRONMENT += EXEEXT='$(EXEEXT)'; export EXEEXT; END cat > lib/tests/safe-print-test.c <<'END' @@ -161,6 +160,8 @@ cat > tests/check.am <<'END' TEST_EXTENSIONS = .sh SH_LOG_COMPILER = $(SHELL) +AM_TESTS_ENVIRONMENT += EXEEXT='$(EXEEXT)'; export EXEEXT; + handwritten_TESTS = \ %D%/hello.sh \ %D%/built.sh