gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-584


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-584-ge59b243
Date: Tue, 10 Feb 2015 17:52:29 +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, gawk-4.1-stable has been updated
       via  e59b2439f336e943a5eb7bd6a9926dc18dd974d8 (commit)
      from  f2e05556f6962e41556c4abb0acc900c82acc672 (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=e59b2439f336e943a5eb7bd6a9926dc18dd974d8

commit e59b2439f336e943a5eb7bd6a9926dc18dd974d8
Author: Arnold D. Robbins <address@hidden>
Date:   Tue Feb 10 19:52:18 2015 +0200

    Add new profile test.

diff --git a/test/ChangeLog b/test/ChangeLog
index 8672cb0..0d6934e 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-10         Arnold D. Robbins     <address@hidden>
+
+       * Makefile.am (profile0): New test.
+       * profile0.awk, profile0.in, profile0.ok: New files.
+
 2015-02-01         Arnold D. Robbins     <address@hidden>
 
        * Makefile.am (paramasfunc1, paramasfunc2): Now need --posix.
diff --git a/test/Makefile.am b/test/Makefile.am
index 3160494..419265f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -710,6 +710,8 @@ EXTRA_DIST = \
        prmreuse.ok \
        procinfs.awk \
        procinfs.ok \
+       profile0.awk \
+       profile0.ok \
        profile2.ok \
        profile3.awk \
        profile3.ok \
@@ -1039,7 +1041,7 @@ GAWK_EXT_TESTS = \
        manyfiles match1 match2 match3 mbstr1 \
        nastyparm next nondec nondec2 \
        patsplit posix printfbad1 printfbad2 printfbad3 printfbad4 printhuge 
procinfs \
-       profile1 profile2 profile3 profile4 profile5 profile6 profile7 pty1 \
+       profile0 profile1 profile2 profile3 profile4 profile5 profile6 profile7 
pty1 \
        rebuf regnul1 regnul2 regx8bit reginttrad reint reint2 rsgetline 
rsglstdin rsstart1 \
        rsstart2 rsstart3 rstest6 shadow sortfor sortu split_after_fpat \
        splitarg4 strftime \
@@ -1689,6 +1691,12 @@ dumpvars::
        @grep -v ENVIRON < awkvars.out | grep -v PROCINFO > _$@; rm awkvars.out
        @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
 
+profile0:
+       @echo $@
+       @$(AWK) address@hidden -f "$(srcdir)"/address@hidden 
"$(srcdir)"/address@hidden > /dev/null
+       @sed 1,2d < address@hidden > _$@; rm address@hidden
+       @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
 profile1:
        @echo $@
        @$(AWK) address@hidden -f "$(srcdir)"/xref.awk "$(srcdir)"/dtdgport.awk 
> address@hidden
diff --git a/test/Makefile.in b/test/Makefile.in
index d1bbf4f..598285e 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -967,6 +967,8 @@ EXTRA_DIST = \
        prmreuse.ok \
        procinfs.awk \
        procinfs.ok \
+       profile0.awk \
+       profile0.ok \
        profile2.ok \
        profile3.awk \
        profile3.ok \
@@ -1295,7 +1297,7 @@ GAWK_EXT_TESTS = \
        manyfiles match1 match2 match3 mbstr1 \
        nastyparm next nondec nondec2 \
        patsplit posix printfbad1 printfbad2 printfbad3 printfbad4 printhuge 
procinfs \
-       profile1 profile2 profile3 profile4 profile5 profile6 profile7 pty1 \
+       profile0 profile1 profile2 profile3 profile4 profile5 profile6 profile7 
pty1 \
        rebuf regnul1 regnul2 regx8bit reginttrad reint reint2 rsgetline 
rsglstdin rsstart1 \
        rsstart2 rsstart3 rstest6 shadow sortfor sortu split_after_fpat \
        splitarg4 strftime \
@@ -2127,6 +2129,12 @@ dumpvars::
        @grep -v ENVIRON < awkvars.out | grep -v PROCINFO > _$@; rm awkvars.out
        @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
 
+profile0:
+       @echo $@
+       @$(AWK) address@hidden -f "$(srcdir)"/address@hidden 
"$(srcdir)"/address@hidden > /dev/null
+       @sed 1,2d < address@hidden > _$@; rm address@hidden
+       @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
 profile1:
        @echo $@
        @$(AWK) address@hidden -f "$(srcdir)"/xref.awk "$(srcdir)"/dtdgport.awk 
> address@hidden
diff --git a/test/profile0.awk b/test/profile0.awk
new file mode 100644
index 0000000..a42e94d
--- /dev/null
+++ b/test/profile0.awk
@@ -0,0 +1 @@
+NR == 1
diff --git a/test/profile0.in b/test/profile0.in
new file mode 100644
index 0000000..7bba8c8
--- /dev/null
+++ b/test/profile0.in
@@ -0,0 +1,2 @@
+line 1
+line 2
diff --git a/test/profile0.ok b/test/profile0.ok
new file mode 100644
index 0000000..2e3c572
--- /dev/null
+++ b/test/profile0.ok
@@ -0,0 +1,6 @@
+       # Rule(s)
+
+     2  NR == 1 { # 1
+     1         print $0
+       }
+

-----------------------------------------------------------------------

Summary of changes:
 test/ChangeLog                    |    5 +++++
 test/Makefile.am                  |   10 +++++++++-
 test/Makefile.in                  |   10 +++++++++-
 test/profile0.awk                 |    1 +
 test/{clsflnam.in => profile0.in} |    1 -
 test/profile0.ok                  |    6 ++++++
 6 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 test/profile0.awk
 copy test/{clsflnam.in => profile0.in} (66%)
 create mode 100644 test/profile0.ok


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]