summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-08 13:23:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-08 13:23:13 +0300
commitea1b127de833a4ea0c9f7acca796bdac4051b6c2 (patch)
tree272601894a291442bde1506de2e1011d9450cb28
parentea1c544208913c0871fb21d9a5d6277d83bf2ef2 (diff)
downloadgawk-ea1b127de833a4ea0c9f7acca796bdac4051b6c2.tar.gz
Fix watchpoint1 test to work out-of-tree.
-rw-r--r--test/ChangeLog5
-rw-r--r--test/Makefile.am2
-rw-r--r--test/Makefile.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index bf40d8a6..59e26897 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * watchpoint1: Use $(srcdir) on input file so out-of-tree
+ builds can run the test suite.
+
2016-04-07 Arnold D. Robbins <arnold@skeeve.com>
* clos1way2.ok, clos1way3.ok, clos1way4.ok: Updated after
diff --git a/test/Makefile.am b/test/Makefile.am
index 7be8d971..9eebba73 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2129,7 +2129,7 @@ muldimposix::
watchpoint1:
@echo $@
- @AWKPATH="$(srcdir)" $(AWK) -D -f $@.awk $@.in < $@.script >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @AWKPATH="$(srcdir)" $(AWK) -D -f $@.awk $(srcdir)/$@.in < $(srcdir)/$@.script >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
# Targets generated for other tests:
diff --git a/test/Makefile.in b/test/Makefile.in
index b9b97de5..d3e745ae 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2568,7 +2568,7 @@ muldimposix::
watchpoint1:
@echo $@
- @AWKPATH="$(srcdir)" $(AWK) -D -f $@.awk $@.in < $@.script >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @AWKPATH="$(srcdir)" $(AWK) -D -f $@.awk $(srcdir)/$@.in < $(srcdir)/$@.script >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program