aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-25 23:04:57 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-25 23:04:57 +0300
commit397423c7a0709fce5abd1c7a5d55411b9a170267 (patch)
tree86c549e8bb4180b1d469cf71a2ce8f697fac7efe /test
parentab40bfaf0bab83d15fee1082e6fa4bdd775f7021 (diff)
downloadegawk-397423c7a0709fce5abd1c7a5d55411b9a170267.tar.gz
egawk-397423c7a0709fce5abd1c7a5d55411b9a170267.tar.bz2
egawk-397423c7a0709fce5abd1c7a5d55411b9a170267.zip
Fix negtime test to run out-of-tree.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/Makefile.am2
-rw-r--r--test/Makefile.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index a9d130cc..cc7576ef 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-25 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (negtime): Fix out-of-tree test run.
+
2015-06-17 Andrew J. Schorr <aschorr@telemetry-investments.com>
* inplace1.ok, inplace2.ok, inplace3.ok: Update line number in error
diff --git a/test/Makefile.am b/test/Makefile.am
index 02c0aaa8..5e72014b 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2074,7 +2074,7 @@ paramasfunc2::
negtime::
@echo $@
@TZ=GMT AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk $@.ok _$@ && rm -f _$@
+ @AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk "$(srcdir)"/$@.ok _$@ && rm -f _$@
# Targets generated for other tests:
include Maketests
diff --git a/test/Makefile.in b/test/Makefile.in
index 9d51a3d8..0116f3a4 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2511,7 +2511,7 @@ paramasfunc2::
negtime::
@echo $@
@TZ=GMT AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
- @AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk $@.ok _$@ && rm -f _$@
+ @AWKPATH="$(srcdir)" $(AWK) -f checknegtime.awk "$(srcdir)"/$@.ok _$@ && rm -f _$@
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma: