aboutsummaryrefslogtreecommitdiffstats
path: root/pc/Makefile.tst
diff options
context:
space:
mode:
Diffstat (limited to 'pc/Makefile.tst')
-rw-r--r--pc/Makefile.tst9
1 files changed, 5 insertions, 4 deletions
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 8b7baa2b..a787563c 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -1201,8 +1201,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 $@
@@ -1232,9 +1234,8 @@ paramasfunc2::
negtime::
@echo $@
- @echo Expect negtime to fail with MinGW and DJGPP
@TZ=GMT AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk $@.ok _$@ && rm -f _$@
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma: