[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. 74f4ac827622e938bb43d07
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. 74f4ac827622e938bb43d079dcaa87f1db749c63 |
Date: |
Mon, 14 Jan 2013 19:05:59 +0000 |
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, master has been updated
via 74f4ac827622e938bb43d079dcaa87f1db749c63 (commit)
via 3b3ef9d35be3b22fd643e0a4edf8c136f6a7ca65 (commit)
from 94890fcc0514fb5704320c504ce2215678ebc307 (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=74f4ac827622e938bb43d079dcaa87f1db749c63
commit 74f4ac827622e938bb43d079dcaa87f1db749c63
Merge: 3b3ef9d 94890fc
Author: Arnold D. Robbins <address@hidden>
Date: Mon Jan 14 21:05:39 2013 +0200
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/gawk
diff --cc test/ChangeLog
index 574acbd,4ed39af..822b1db
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,10 -1,9 +1,16 @@@
+2013-01-14 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (rand): Let Gentests create the test.
+ (fmtspcl): Add $(AWKFLAGS).
+ * Gentests: For MPFR tests, add $(AWKFLAGS) on the command lie.
+ * mpfr-rand.ok: Updated.
+
+ 2013-01-14 Andrew J. Schorr <address@hidden>
+
+ * Makefile.am (symtab8): Use grep to remove FILENAME from the output
+ so the test will succeed when building outside the source tree.
+ * symtab8.ok: Remove FILENAME.
+
2013-01-10 Andrew J. Schorr <address@hidden>
* inplace.1.in, inplace.2.in, inplace.in, inplace1.1.ok, inplace1.2.ok,
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=3b3ef9d35be3b22fd643e0a4edf8c136f6a7ca65
commit 3b3ef9d35be3b22fd643e0a4edf8c136f6a7ca65
Author: Arnold D. Robbins <address@hidden>
Date: Mon Jan 14 21:03:36 2013 +0200
Fix tests to run with -M.
diff --git a/TODO b/TODO
index fba0903..47f1c6d 100644
--- a/TODO
+++ b/TODO
@@ -15,9 +15,6 @@ TODO
Minor Cleanups and Code Improvements
------------------------------------
- make check with AWKFLAGS=-M has 4 tests that fail but the
- results are not reflected in make diffout. Look at this.
-
API:
??? #if !defined(GAWK) && !defined(GAWK_OMIT_CONVENIENCE_MACROS)
diff --git a/test/ChangeLog b/test/ChangeLog
index 914a0fd..574acbd 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,10 @@
+2013-01-14 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (rand): Let Gentests create the test.
+ (fmtspcl): Add $(AWKFLAGS).
+ * Gentests: For MPFR tests, add $(AWKFLAGS) on the command lie.
+ * mpfr-rand.ok: Updated.
+
2013-01-10 Andrew J. Schorr <address@hidden>
* inplace.1.in, inplace.2.in, inplace.in, inplace1.1.ok, inplace1.2.ok,
diff --git a/test/Gentests b/test/Gentests
index ae56b8c..c69c0f8 100755
--- a/test/Gentests
+++ b/test/Gentests
@@ -48,7 +48,10 @@ BEGIN {
/^CHECK_MPFR *=/,/[^\\]$/ {
gsub(/(^CHECK_MPFR *=|\\$)/,"")
for (i = 1; i <= NF; i++)
+ {
mpfr[$i]
+printf("adding %s to mpfr\n", $i) > "/dev/stderr"
+ }
next
}
@@ -99,14 +102,15 @@ function generate(x, s)
}
printf "address@hidden address@hidden"
- printf "address@hidden(srcdir) $(AWK) -f address@hidden %s >_$@ 2>&1 ||
echo EXIT CODE: $$? >>address@hidden", s
if (x in mpfr) {
delete mpfr[x]
+ printf "address@hidden(srcdir) $(AWK) $(AWKFLAGS) -f
address@hidden %s >_$@ 2>&1 || echo EXIT CODE: $$? >>address@hidden", s
printf "address@hidden test -z \"$$AWKFLAGS\" ; then $(CMP)
$(srcdir)/address@hidden _$@ && rm -f _$@ ; else \\\n"
printf "\t$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ;
\\\n"
printf "\tfi\n\n"
} else {
+ printf "address@hidden(srcdir) $(AWK) -f address@hidden %s >_$@
2>&1 || echo EXIT CODE: $$? >>address@hidden", s
printf "address@hidden(CMP) $(srcdir)/address@hidden _$@ && rm
-f address@hidden"
}
}
diff --git a/test/Makefile.am b/test/Makefile.am
index 7a541f9..6c74385 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1252,7 +1252,7 @@ fmtspcl.ok: fmtspcl.tok Makefile
fmtspcl: fmtspcl.ok
@echo $@
- @$(AWK) -f $(srcdir)/fmtspcl.awk --lint >_$@ 2>&1 || echo EXIT CODE:
$$? >>_$@
+ @$(AWK) $(AWKFLAGS) -f $(srcdir)/fmtspcl.awk --lint >_$@ 2>&1 || echo
EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) address@hidden _$@ && rm -f _$@
; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
@@ -1598,13 +1598,6 @@ rri1::
AWKPATH=$(srcdir) $(AWK) -f address@hidden < $(srcdir)/address@hidden
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
-rand:
- @echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
- @-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
- ($(CMP) $(srcdir)/address@hidden _$@ || $(CMP) $(srcdir)/address@hidden
_$@) && rm -f _$@ ; \
- fi
-
mpfrieee:
@echo $@
@$(AWK) -M -vPREC=double -f $(srcdir)/address@hidden > _$@ 2>&1
diff --git a/test/Makefile.in b/test/Makefile.in
index 52d8edc..e3affc5 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1633,7 +1633,7 @@ fmtspcl.ok: fmtspcl.tok Makefile
fmtspcl: fmtspcl.ok
@echo $@
- @$(AWK) -f $(srcdir)/fmtspcl.awk --lint >_$@ 2>&1 || echo EXIT CODE:
$$? >>_$@
+ @$(AWK) $(AWKFLAGS) -f $(srcdir)/fmtspcl.awk --lint >_$@ 2>&1 || echo
EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) address@hidden _$@ && rm -f _$@
; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
@@ -1979,13 +1979,6 @@ rri1::
AWKPATH=$(srcdir) $(AWK) -f address@hidden < $(srcdir)/address@hidden
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
-rand:
- @echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
- @-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
- ($(CMP) $(srcdir)/address@hidden _$@ || $(CMP) $(srcdir)/address@hidden
_$@) && rm -f _$@ ; \
- fi
-
mpfrieee:
@echo $@
@$(AWK) -M -vPREC=double -f $(srcdir)/address@hidden > _$@ 2>&1
@@ -2797,6 +2790,13 @@ prtoeval:
@AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+rand:
+ @echo $@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
+ $(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
+ fi
+
range1:
@echo $@
@AWKPATH=$(srcdir) $(AWK) -f address@hidden < $(srcdir)/address@hidden
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@@ -3394,14 +3394,14 @@ fmttest:
fnarydel:
@echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
fnparydl:
@echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
diff --git a/test/Maketests b/test/Maketests
index be8b53b..d3dc8dc 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -655,6 +655,13 @@ prtoeval:
@AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
+rand:
+ @echo $@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
+ $(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
+ fi
+
range1:
@echo $@
@AWKPATH=$(srcdir) $(AWK) -f address@hidden < $(srcdir)/address@hidden
>_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@@ -1252,14 +1259,14 @@ fmttest:
fnarydel:
@echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
fnparydl:
@echo $@
- @AWKPATH=$(srcdir) $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @AWKPATH=$(srcdir) $(AWK) $(AWKFLAGS) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
@-if test -z "$$AWKFLAGS" ; then $(CMP) $(srcdir)/address@hidden _$@ &&
rm -f _$@ ; else \
$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@ ; \
fi
diff --git a/test/rand-mpfr.ok b/test/rand-mpfr.ok
index 76ab51b..448f403 100644
--- a/test/rand-mpfr.ok
+++ b/test/rand-mpfr.ok
@@ -1 +1 @@
- 27 89 11 47 77 49 13 34 78 93 76 96 91 53 3 94 25 51 10
+ 25 42 47 49 80 5 4 92 59 96 8 63 92 28 41 37 80 51 48
-----------------------------------------------------------------------
Summary of changes:
TODO | 3 ---
test/ChangeLog | 7 +++++++
test/Gentests | 6 +++++-
test/Makefile.am | 9 +--------
test/Makefile.in | 20 ++++++++++----------
test/Maketests | 11 +++++++++--
test/rand-mpfr.ok | 2 +-
7 files changed, 33 insertions(+), 25 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. 74f4ac827622e938bb43d079dcaa87f1db749c63,
Arnold Robbins <=