aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog6
-rw-r--r--test/Makefile.am6
-rw-r--r--test/Makefile.in6
3 files changed, 14 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 71a9887f..4d2d0098 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2015-05-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (dbugeval): Wrap in test for interactive terminal
+ to avoid Mac OS X failure. Thanks to Nelson H.F. Beebe for
+ the report.
+
2015-05-05 Andrew J. Schorr <aschorr@telemetry-investments.com>
* Makefile.am (rebrackloc): New test.
diff --git a/test/Makefile.am b/test/Makefile.am
index b69e9e81..68ded6cd 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2081,8 +2081,10 @@ backsmalls2:
dbugeval::
@echo $@
- @$(AWK) --debug -f /dev/null < "$(srcdir)"/$@.in > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @if [ -t 0 ]; then \
+ $(AWK) --debug -f /dev/null < "$(srcdir)"/$@.in > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
+ $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
+ fi
printhuge::
@echo $@
diff --git a/test/Makefile.in b/test/Makefile.in
index a06fa07f..139d1e09 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2517,8 +2517,10 @@ backsmalls2:
dbugeval::
@echo $@
- @$(AWK) --debug -f /dev/null < "$(srcdir)"/$@.in > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @if [ -t 0 ]; then \
+ $(AWK) --debug -f /dev/null < "$(srcdir)"/$@.in > _$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
+ $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
+ fi
printhuge::
@echo $@