[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-100
From: |
Andrew J. Schorr |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-1004-g1e9198f |
Date: |
Sun, 19 Mar 2017 17:04:29 -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, gawk-4.1-stable has been updated
via 1e9198f58d7d5616e03dc4b2bb6f738ab4e89f06 (commit)
from af3bd5ea36908e9d706dd18bfd263e3fd83ee279 (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=1e9198f58d7d5616e03dc4b2bb6f738ab4e89f06
commit 1e9198f58d7d5616e03dc4b2bb6f738ab4e89f06
Author: Andrew J. Schorr <address@hidden>
Date: Sun Mar 19 17:03:44 2017 -0400
Patch argarray test to work regardless of how configure is invoked.
diff --git a/test/ChangeLog b/test/ChangeLog
index 8b16532..0475628 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,10 @@
+2017-03-19 Andrew J. Schorr <address@hidden>
+
+ * Makefile.am (argarray): Always copy argarray.in to the local
+ directory as argarray.input instead of trying to figure out whether
+ $(srcdir) is the current directory.
+ * argarray.ok: Replace argarray.in with argarray.input.
+
2017-01-27 Andrew J. Schorr <address@hidden>
* Makefile.am (gensub3): New test.
diff --git a/test/Makefile.am b/test/Makefile.am
index d89e610..445e77c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1348,15 +1348,9 @@ messages::
argarray::
@echo $@
- @case "$(srcdir)" in \
- .) : ;; \
- *) cp "$(srcdir)"/argarray.in . ;; \
- esac
- @TEST=test echo just a test | $(AWK) -f "$(srcdir)"/argarray.awk
./argarray.in - >_$@
- @case "$(srcdir)" in \
- .) : ;; \
- *) rm -f ./argarray.in ;; \
- esac
+ @cp "$(srcdir)"/argarray.in ./argarray.input
+ @TEST=test echo just a test | $(AWK) -f "$(srcdir)"/argarray.awk
./argarray.input - >_$@
+ @rm -f ./argarray.input
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
regtest::
diff --git a/test/Makefile.in b/test/Makefile.in
index 5269d0c..981a1e3 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1788,15 +1788,9 @@ messages::
argarray::
@echo $@
- @case "$(srcdir)" in \
- .) : ;; \
- *) cp "$(srcdir)"/argarray.in . ;; \
- esac
- @TEST=test echo just a test | $(AWK) -f "$(srcdir)"/argarray.awk
./argarray.in - >_$@
- @case "$(srcdir)" in \
- .) : ;; \
- *) rm -f ./argarray.in ;; \
- esac
+ @cp "$(srcdir)"/argarray.in ./argarray.input
+ @TEST=test echo just a test | $(AWK) -f "$(srcdir)"/argarray.awk
./argarray.input - >_$@
+ @rm -f ./argarray.input
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
regtest::
diff --git a/test/argarray.ok b/test/argarray.ok
index 18eb841..3c02663 100644
--- a/test/argarray.ok
+++ b/test/argarray.ok
@@ -1,9 +1,9 @@
here we have 3 arguments
which are
gawk
- ./argarray.in
+ ./argarray.input
-
Environment variable TEST=
and the current input file is called ""
-in main loop, this input file is known as "./argarray.in"
+in main loop, this input file is known as "./argarray.input"
in main loop, this input file is known as "-"
-----------------------------------------------------------------------
Summary of changes:
test/ChangeLog | 7 +++++++
test/Makefile.am | 12 +++---------
test/Makefile.in | 12 +++---------
test/argarray.ok | 4 ++--
4 files changed, 15 insertions(+), 20 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-1004-g1e9198f,
Andrew J. Schorr <=