diff options
-rw-r--r-- | test/ChangeLog | 4 | ||||
-rw-r--r-- | test/Makefile.am | 12 | ||||
-rw-r--r-- | test/Makefile.in | 12 |
3 files changed, 20 insertions, 8 deletions
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 <arnold@skeeve.com> + + * Makefile.am (mbprintf5): Skip this test on Cygwin. + 2017-06-22 Arnold D. Robbins <arnold@skeeve.com> * 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 $@ |