[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-3249-gdd819af |
Date: |
Sun, 13 May 2018 11:39:59 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, feature/namespaces has been updated
via dd819afdb4acc0f116be812d890ac9c5141657ef (commit)
via c7760d4a78c829f969e31926f475e9b0836bb90f (commit)
via 215cd91db5b8e049b6fa06257fb498909f5e6684 (commit)
via 525c2d59a50d5814f42a9335a0c64376afa71409 (commit)
via ee8965499533a505847229c9a23c46c313067ac0 (commit)
from 29751b78dbd2dfd6614fb67e0c6e1409192da177 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=dd819afdb4acc0f116be812d890ac9c5141657ef
commit dd819afdb4acc0f116be812d890ac9c5141657ef
Author: Arnold D. Robbins <address@hidden>
Date: Sun May 13 11:39:41 2018 -0400
Use new test infrastructure for some of the namespace tests.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 97d965b..bb2706f 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -262,7 +262,9 @@ NEED_NONDEC = nondec2 intarray forcenum
NEED_POSIX = printf0 posix2008sub paramasfunc1 paramasfunc2 muldimposix
# List of tests that need --pretty-print
-NEED_PRETTY = profile4 profile5 profile8 profile9 profile10
+NEED_PRETTY = nsprof1 nsprof2 \
+ profile4 profile5 profile8 profile9 profile10
+
# List of tests that need --re-interval
NEED_RE_INTERVAL = gsubtst3 reint reint2
@@ -1094,16 +1096,6 @@ sourcesplit:
@AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-nsprof1:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
-nsprof2:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
eofsrc1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@@ -2819,6 +2811,16 @@ nsindirect2:
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+nsprof1:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsprof2:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
patsplit:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
diff --git a/test/Makefile.am b/test/Makefile.am
index 5b939e8..6f33d8d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1361,7 +1361,8 @@ NEED_NONDEC = nondec2 intarray forcenum
NEED_POSIX = printf0 posix2008sub paramasfunc1 paramasfunc2 muldimposix
# List of tests that need --pretty-print
-NEED_PRETTY = profile4 profile5 profile8 profile9 profile10
+NEED_PRETTY = nsprof1 nsprof2 \
+ profile4 profile5 profile8 profile9 profile10
# List of tests that need --re-interval
NEED_RE_INTERVAL = gsubtst3 reint reint2
@@ -2188,16 +2189,6 @@ sourcesplit:
@AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-nsprof1:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
-nsprof2:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
eofsrc1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/Makefile.in b/test/Makefile.in
index 6fea53f..7a5031c 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1618,7 +1618,9 @@ NEED_NONDEC = nondec2 intarray forcenum
NEED_POSIX = printf0 posix2008sub paramasfunc1 paramasfunc2 muldimposix
# List of tests that need --pretty-print
-NEED_PRETTY = profile4 profile5 profile8 profile9 profile10
+NEED_PRETTY = nsprof1 nsprof2 \
+ profile4 profile5 profile8 profile9 profile10
+
# List of tests that need --re-interval
NEED_RE_INTERVAL = gsubtst3 reint reint2
@@ -2631,16 +2633,6 @@ sourcesplit:
@AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-nsprof1:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
-nsprof2:
- @echo $@
- @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
-
eofsrc1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@@ -4333,6 +4325,16 @@ nsindirect2:
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+nsprof1:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsprof2:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
patsplit:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index b5c7d2b..ca5c112 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -1658,6 +1658,16 @@ nsindirect2:
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+nsprof1:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsprof2:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
patsplit:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=c7760d4a78c829f969e31926f475e9b0836bb90f
commit c7760d4a78c829f969e31926f475e9b0836bb90f
Merge: 29751b7 215cd91
Author: Arnold D. Robbins <address@hidden>
Date: Sun May 13 11:37:31 2018 -0400
Merge branch 'master' into feature/namespaces
diff --cc pc/Makefile.tst
index 675d004,5725faa..97d965b
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@@ -152,10 -149,10 +149,10 @@@ BASIC_TESTS =
callparam childin clobber closebad clsflnam compare compare2 \
concat1 concat2 concat3 concat4 concat5 convfmt \
datanonl defref delargv delarpm2 delarprm delfunc dfamb1 dfastress
dynlj \
-- eofsplit exit2 exitval1 exitval2 exitval3 fcall_exit fcall_exit2 \
-- fldchg fldchgnf fldterm fnamedat fnarray fnarray2 fnaryscl fnasgnm
fnmisc \
-- fordel forref forsimp fsbs fsnul1 fsrs fsspcoln fstabplus funsemnl \
-- funsmnam funstack \
++ eofsplit eofsrc1 exit2 exitval1 exitval2 exitval3 \
++ fcall_exit fcall_exit2 fldchg fldchgnf fldterm fnamedat fnarray
fnarray2 \
++ fnaryscl fnasgnm fnmisc fordel forref forsimp fsbs fsnul1 fsrs fsspcoln
\
++ fstabplus funsemnl funsmnam funstack \
getline getline2 getline3 getline4 getline5 getlnbuf getnr2tb getnr2tm \
gsubasgn gsubtest gsubtst2 gsubtst3 gsubtst4 gsubtst5 gsubtst6 gsubtst7
\
gsubtst8 \
@@@ -204,18 -201,18 +201,19 @@@ GAWK_EXT_TESTS =
incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 include include2 \
indirectbuiltin indirectcall indirectcall2 intarray isarrayunset \
lint lintexp lintindex lintint lintlength lintold lintset lintwarn \
-- mixed1 mktime manyfiles match1 match2 match3 mbstr1 mbstr2 muldimposix \
++ manyfiles match1 match2 match3 mbstr1 mbstr2 mixed1 mktime muldimposix \
nastyparm negtime next nondec nondec2 nonfatal1 nonfatal2 nonfatal3 \
++ nsbad nsbad_cmd nsindirect1 nsindirect2 nsprof1 nsprof2 \
patsplit posix printfbad1 printfbad2 printfbad3 printfbad4 printhuge \
procinfs profile0 profile1 profile2 profile3 profile4 profile5 profile6
\
profile7 profile8 profile9 profile10 pty1 pty2 \
rebuf regnul1 regnul2 regx8bit reginttrad reint reint2 rsgetline
rsglstdin \
rsstart1 rsstart2 rsstart3 rstest6 \
shadow shadowbuiltin sortfor sortfor2 sortu sourcesplit
split_after_fpat \
-- splitarg4 strftime strftfld strtonum strtonum1 switch2 symtab1 symtab2 \
++ splitarg4 strftfld strftime strtonum strtonum1 switch2 symtab1 symtab2 \
symtab3 symtab4 symtab5 symtab6 symtab7 symtab8 symtab9 symtab10 \
-- typedregex1 typedregex2 typedregex3 typeof1 typeof2 typeof3 typeof4 \
-- typeof5 timeout \
++ timeout typedregex1 typedregex2 typedregex3 typeof1 typeof2 typeof3 \
++ typeof4 typeof5 \
watchpoint1
ARRAYDEBUG_TESTS = arrdbg
@@@ -1153,7 -918,7 +919,7 @@@ inplace2:
@echo $@
@cp "$(srcdir)"/inplace.1.in address@hidden
@cp "$(srcdir)"/inplace.2.in address@hidden
-- @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
INPLACE_SUFFIX=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END
{print "after"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
++ @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
inplace::suffix=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END
{print "after"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@-$(CMP) "$(srcdir)"/address@hidden address@hidden && rm -f
address@hidden
@-$(CMP) "$(srcdir)"/address@hidden address@hidden && rm -f
address@hidden
@@@ -1164,8 -929,8 +930,8 @@@ inplace3:
@echo $@
@cp "$(srcdir)"/inplace.1.in address@hidden
@cp "$(srcdir)"/inplace.2.in address@hidden
-- @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
INPLACE_SUFFIX=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END
{print "after"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
-- @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
INPLACE_SUFFIX=.bak 'BEGIN {print "Before"} {gsub(/bar/, "foo"); print} END
{print "After"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >>_$@
2>&1 || echo EXIT CODE: $$? >>_$@
++ @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
inplace::suffix=.bak 'BEGIN {print "before"} {gsub(/foo/, "bar"); print} END
{print "after"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
++ @AWKPATH="$(srcdir)"/../awklib/eg/lib $(AWK) -i inplace -v
inplace::suffix=.bak 'BEGIN {print "Before"} {gsub(/bar/, "foo"); print} END
{print "After"}' address@hidden - address@hidden < "$(srcdir)"/inplace.in >>_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@-$(CMP) "$(srcdir)"/address@hidden address@hidden && rm -f
address@hidden
@-$(CMP) "$(srcdir)"/address@hidden address@hidden && rm -f
address@hidden
@@@ -1406,19 -1085,37 +1086,57 @@@ ignrcas3:
arrdbg:
@echo $@
- @$(AWK) -v "okfile=./address@hidden" -f "$(srcdir)"/address@hidden |
grep array_f >_$@
+ @$(AWK) -v "okfile=./address@hidden" -f "$(srcdir)"/address@hidden |
grep array_f >_$@ || echo EXIT CODE: $$? >> _$@
@-$(CMP) ./address@hidden _$@ && rm -f _$@ ./address@hidden
- fwtest3:
+ sourcesplit:
@echo $@
- @AWKPATH="$(srcdir)" $(AWK) -f address@hidden < "$(srcdir)"/fwtest2.in
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
- sourcesplit:
++nsprof1:
+ @echo $@
- @AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
++ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
++nsprof2:
++ @echo $@
++ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
++eofsrc1:
++ @echo $@
++ @AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
++nsbad_cmd:
++ @echo $@
++ @AWKPATH="$(srcdir)" $(AWK) -v foo:bar=3 -v foo:::blat=4 1 /dev/null
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
+ # Use [:] in the regexp to keep MSYS from converting the /'s to \'s.
+ nonfatal1:
+ @echo $@
+ @echo Expect $@ to fail with DJGPP.
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden 2>&1 | $(AWK) '{print
gensub(/invalid[:].*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ # 4/2018: On first call to $(CMP), send to /dev/null even with -s for MinGW.
+ nlstringtest::
+ @echo $@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=FRA_FRA.1252 ; export GAWKLOCALE ;
\
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden "$(srcdir)" >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ > /dev/null ; \
+ then \
+ rm -f _$@ ; \
+ else \
+ $(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@ ; \
+ fi
+
+ longwrds:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden -v SORT="$(SORT)" <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma:
@@@ -2827,11 -2712,11 +2733,6 @@@ lintwarn
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden --lint >_$@ 2>&1 || echo
EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
--mktime:
-- @echo $@
-- @AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
-- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
--
match1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -2847,6 -2732,25 +2748,30 @@@ match3
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ mbstr1:
+ @echo $@
+ @echo Expect $@ to fail with DJGPP and MinGW.
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=ENU_USA.1252; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ mbstr2:
+ @echo $@
+ @echo Expect $@ to fail with DJGPP and MinGW.
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=ENU_USA.1252; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
++mktime:
++ @echo $@
++ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
+ muldimposix:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --posix >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
nastyparm:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -2871,10 -2779,10 +2800,25 @@@ nonfatal2
nonfatal3:
@echo $@
- @echo Expect nonfatal3 to fail with DJGPP.
+ @echo Expect $@ to fail with DJGPP.
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
++nsbad:
++ @echo $@
++ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
++nsindirect1:
++ @echo $@
++ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
++nsindirect2:
++ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
patsplit:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -3016,6 -2976,11 +3012,17 @@@ symtab7
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ symtab10:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --debug <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
++timeout:
++ @echo $@
++ @echo Expect $@ to fail with DJGPP and MinGW.
++ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
++ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
++
typedregex1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -3056,12 -3021,12 +3063,6 @@@ typeof5
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
--timeout:
-- @echo $@
- @echo Expect timeout to fail with DJGPP and MinGW
- @echo Expect $@ to fail with DJGPP and MinGW.
-- @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
-- @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
--
double1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
diff --cc test/Makefile.am
index 7c7b9b7,61b98c2..5b939e8
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@@ -2487,36 -2173,18 +2188,39 @@@ sourcesplit
@AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+nsprof1:
+ @echo $@
+ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsprof2:
+ @echo $@
+ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+eofsrc1:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsbad_cmd:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -v foo:bar=3 -v foo:::blat=4 1 /dev/null
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
++
+ # Use [:] in the regexp to keep MSYS from converting the /'s to \'s.
nonfatal1:
@echo $@
- @AWKPATH="$(srcdir)" $(AWK) -f address@hidden 2>&1 | $(AWK) '{print
gensub(/invalid:.*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden 2>&1 | $(AWK) '{print
gensub(/invalid[:].*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ # 4/2018: On first call to $(CMP), send to /dev/null even with -s for MinGW.
nlstringtest::
@echo $@
- @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=fr_FR.UTF-8 ; \
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=fr_FR.UTF-8 ; export GAWKLOCALE ; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden "$(srcdir)" >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
- @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ ; \
+ @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ > /dev/null ; \
then \
rm -f _$@ ; \
else \
diff --cc test/Makefile.in
index feeaa7b,78606f8..6fea53f
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@@ -2924,36 -2616,18 +2631,38 @@@ sourcesplit
@AWKPATH="$(srcdir)" $(AWK) --source='BEGIN { a = 5;' --source='print a
}' >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+nsprof1:
+ @echo $@
+ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsprof2:
+ @echo $@
+ @$(AWK) --pretty-print=_$@ -f "$(srcdir)"/address@hidden < /dev/null
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+eofsrc1:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f "$(srcdir)"/address@hidden -f
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+nsbad_cmd:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -v foo:bar=3 -v foo:::blat=4 1 /dev/null
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ # Use [:] in the regexp to keep MSYS from converting the /'s to \'s.
nonfatal1:
@echo $@
- @AWKPATH="$(srcdir)" $(AWK) -f address@hidden 2>&1 | $(AWK) '{print
gensub(/invalid:.*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden 2>&1 | $(AWK) '{print
gensub(/invalid[:].*$$/, "invalid", 1, $$0)}' >_$@ || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ # 4/2018: On first call to $(CMP), send to /dev/null even with -s for MinGW.
nlstringtest::
@echo $@
- @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=fr_FR.UTF-8 ; \
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=fr_FR.UTF-8 ; export GAWKLOCALE ; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden "$(srcdir)" >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
- @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ ; \
+ @-if $(CMP) -s "$(srcdir)"/nlstringtest-nogettext.ok _$@ > /dev/null ; \
then \
rm -f _$@ ; \
else \
@@@ -4369,11 -4236,23 +4266,28 @@@ match3
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ mbstr1:
+ @echo $@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ mbstr2:
+ @echo $@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+mktime:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ muldimposix:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --posix >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
nastyparm:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -4559,11 -4475,11 +4525,16 @@@ symtab7
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ symtab10:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --debug <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+timeout:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
typedregex1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
diff --cc test/Maketests
index bad17ad,266e4a9..b5c7d2b
--- a/test/Maketests
+++ b/test/Maketests
@@@ -1407,11 -1596,23 +1591,28 @@@ match3
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ mbstr1:
+ @echo $@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ mbstr2:
+ @echo $@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+mktime:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+ muldimposix:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --posix >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
nastyparm:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@@@ -1597,11 -1835,11 +1850,16 @@@ symtab7
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+ symtab10:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden --debug <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
+timeout:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
typedregex1:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +
Makefile.am | 5 +-
Makefile.in | 5 +-
NEWS | 4 +
README_d/ChangeLog | 5 +
README_d/README.pc | 9 +-
doc/it/ChangeLog | 4 +
doc/it/gawktexi.in | 22 +-
pc/ChangeLog | 51 ++
pc/GenMakefileTst.awk | 162 ++++++
pc/Makefile.tst | 1375 +++++++++++++++++++++++++---------------------
pc/Makefile.tst.prologue | 138 +++++
test/ChangeLog | 137 +++++
test/Gentests | 176 +++++-
test/Gentests.vms | 102 ----
test/Makefile.am | 625 ++++++---------------
test/Makefile.in | 1006 +++++++++++++++++----------------
test/Maketests | 379 ++++++++++++-
test/gsubtst3.awk | 3 +-
test/leaddig.awk | 5 +
test/litoct.in | 1 +
test/longdbl.awk | 159 ------
test/longdbl.in | 2 -
test/longdbl.ok | 2 -
test/nondec2.awk | 4 +
test/nonl.in | 1 +
test/randtest.sh | 6 +-
27 files changed, 2542 insertions(+), 1851 deletions(-)
create mode 100644 pc/GenMakefileTst.awk
create mode 100644 pc/Makefile.tst.prologue
delete mode 100644 test/Gentests.vms
create mode 100644 test/litoct.in
delete mode 100644 test/longdbl.awk
delete mode 100644 test/longdbl.in
delete mode 100644 test/longdbl.ok
create mode 100644 test/nonl.in
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-3249-gdd819af,
Arnold Robbins <=