diff options
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/Makefile.am | 6 | ||||
-rw-r--r-- | test/Makefile.in | 6 |
3 files changed, 14 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 92a341d8..f70256b4 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 db3cc860..8838b700 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2038,8 +2038,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 ed095afc..4c0fd9e1 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -2475,8 +2475,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 $@ |