aboutsummaryrefslogtreecommitdiffstats
path: root/pc
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-04-17 18:36:48 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-04-17 18:36:48 +0300
commitdb96948d6e6f8ccf9d035b3c468a2a60e3944f73 (patch)
tree9f8219fea0d98e87a739bceaeb92b288101078f7 /pc
parenteb03b1e1816d524fcc2b78f6bdf502f515eae54e (diff)
parent1c8936c4d92b34c9c70ff8083e67d77c7fcfb439 (diff)
downloadegawk-db96948d6e6f8ccf9d035b3c468a2a60e3944f73.tar.gz
egawk-db96948d6e6f8ccf9d035b3c468a2a60e3944f73.tar.bz2
egawk-db96948d6e6f8ccf9d035b3c468a2a60e3944f73.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'pc')
-rw-r--r--pc/ChangeLog4
-rw-r--r--pc/Makefile.tst10
2 files changed, 11 insertions, 3 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog
index d8e60c98..a66edae9 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-17 Scott Deifik <scottd.mail@sbcglobal.net>
+
+ * Makefile.tst: Add readfile2 test.
+
2014-04-08 Arnold D. Robbins <arnold@skeeve.com>
* 4.1.1: Release tar ball made.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 866b4692..610704e4 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -141,8 +141,7 @@ BASIC_TESTS = \
arrayref arrymem1 arryref2 arryref3 arryref4 arryref5 arynasty \
arynocls aryprm1 aryprm2 aryprm3 aryprm4 aryprm5 aryprm6 aryprm7 \
aryprm8 arysubnm asgext awkpath \
- back89 backgsub \
- badassign1 \
+ back89 backgsub badassign1 \
childin clobber closebad clsflnam compare compare2 concat1 concat2 \
concat3 concat4 convfmt \
datanonl defref delargv delarpm2 delarprm delfunc dfamb1 dfastress dynlj \
@@ -211,7 +210,7 @@ LOCALE_CHARSET_TESTS = \
SHLIB_TESTS = \
fnmatch filefuncs fork fork2 fts functab4 inplace1 inplace2 inplace3 \
- ordchr ordchr2 readdir readfile revout revtwoway rwarray testext time
+ ordchr ordchr2 readdir readfile readfile2 revout revtwoway rwarray testext time
# List of the tests which should be run with --lint option:
NEED_LINT = \
@@ -950,6 +949,11 @@ readfile::
@$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) Makefile _$@ && rm -f _$@ || cp -p Makefile $@.ok
+readfile2::
+ @echo $@
+ @$(AWK) -f "$(srcdir)"/$@.awk "$(srcdir)"/$@.awk "$(srcdir)"/readdir.awk > _$@ || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+
include2::
@echo $@
@AWKPATH="$(srcdir)" $(AWK) --include inclib 'BEGIN {print sandwich("a", "b", "c")}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@