aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:14:43 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-27 06:14:43 +0300
commit09ae00a76b925945cffff657b02e69117a68b39e (patch)
treece99064e7a31a553a2a6d5b7083518a4561e7c08 /test
parent454efb85895d4194da67e0dcc244a54bcc9a1964 (diff)
parent6927f0de4c06b60fbb74ea85e0d50f6d4a5f500b (diff)
downloadegawk-09ae00a76b925945cffff657b02e69117a68b39e.tar.gz
egawk-09ae00a76b925945cffff657b02e69117a68b39e.tar.bz2
egawk-09ae00a76b925945cffff657b02e69117a68b39e.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/Makefile.am12
-rw-r--r--test/Makefile.in12
3 files changed, 20 insertions, 8 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index a1d1fd4c..5b6fbbb8 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 $@