aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-05-26 10:44:07 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-05-26 10:44:07 -0400
commit62d890d4384a70c7550876c617b3a34e28dab234 (patch)
tree3856ee16d1b365d2810539e78f8f23cbf0a98255 /test/Makefile.in
parenteec7101174a3b2807fb282272f75cc13d4b953c3 (diff)
downloadegawk-62d890d4384a70c7550876c617b3a34e28dab234.tar.gz
egawk-62d890d4384a70c7550876c617b3a34e28dab234.tar.bz2
egawk-62d890d4384a70c7550876c617b3a34e28dab234.zip
Install gawkapi.h, fix is_off_limits_var, and enhance ordchr test.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 34b7e930..683ba8a9 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1933,10 +1933,11 @@ ordchr2::
@$(AWK) -l ordchr 'BEGIN {print chr(ord("z"))}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) $(srcdir)/$@.ok _$@ && rm -f _$@
+# N.B. If the test fails, create readfile.ok so that "make diffout" will work
readfile::
@echo $@
@$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @-$(CMP) Makefile _$@ && rm -f _$@
+ @-$(CMP) Makefile _$@ && rm -f _$@ || cp -p Makefile $@.ok
include2::
@echo $@