From 6927f0de4c06b60fbb74ea85e0d50f6d4a5f500b Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 27 Jun 2017 06:11:58 +0300 Subject: Disable mbprintf5 test on Cygwin. --- test/ChangeLog | 4 ++++ test/Makefile.am | 12 ++++++++---- test/Makefile.in | 12 ++++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/ChangeLog b/test/ChangeLog index d1561ac0..165d0ccf 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +2017-06-27 Arnold D. Robbins + + * Makefile.am (mbprintf5): Skip this test on Cygwin. + 2017-06-22 Arnold D. Robbins * profile4.ok, profile5.ok, profile7.ok: Updated after code changes. diff --git a/test/Makefile.am b/test/Makefile.am index 1fcdba3d..b407ee8b 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1910,10 +1910,14 @@ mbprintf4:: @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ mbprintf5:: - @echo $@ - @GAWKLOCALE=en_US.UTF-8 ; export GAWKLOCALE ; \ - $(AWK) -f "$(srcdir)"/$@.awk "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ - @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + echo $@ + @case `uname` in \ + CYGWIN*) echo this test fails on cygwin --- skipping $@ ;; \ + *) \ + GAWKLOCALE=en_US.UTF-8 ; export GAWKLOCALE ; \ + $(AWK) -f "$(srcdir)"/$@.awk "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ ; \ + $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \ + esac mbfw1:: @echo $@ diff --git a/test/Makefile.in b/test/Makefile.in index 7bddf5a9..0b9dfe3d 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -2350,10 +2350,14 @@ mbprintf4:: @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ mbprintf5:: - @echo $@ - @GAWKLOCALE=en_US.UTF-8 ; export GAWKLOCALE ; \ - $(AWK) -f "$(srcdir)"/$@.awk "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ - @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + echo $@ + @case `uname` in \ + CYGWIN*) echo this test fails on cygwin --- skipping $@ ;; \ + *) \ + GAWKLOCALE=en_US.UTF-8 ; export GAWKLOCALE ; \ + $(AWK) -f "$(srcdir)"/$@.awk "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >> _$@ ; \ + $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \ + esac mbfw1:: @echo $@ -- cgit v1.2.3