automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] tests: avoid spurious failures in Linux -> MinGW cross-compilation


From: Stefano Lattarini
Subject: [FYI] tests: avoid spurious failures in Linux -> MinGW cross-compilation mode
Date: Wed, 19 Jun 2013 17:38:53 +0200

* t/ccnoc-deps.sh: Here.
* t/preproc-demo.sh: And here.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/ccnoco-deps.sh  | 2 +-
 t/preproc-demo.sh | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

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
-- 
1.8.3.1.437.g0dbd812




reply via email to

[Prev in Thread] Current Thread [Next in Thread]