aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/Makefile.am2
-rw-r--r--test/Makefile.in2
-rw-r--r--test/profile5.ok8
4 files changed, 11 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index dda9c30a..fddbe1e1 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-06 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (profile5): Use AWKPATH so that out-of-tree
+ builds work correctly.
+
2020-02-09 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (profile5): Append results of stderr to the
diff --git a/test/Makefile.am b/test/Makefile.am
index 3eef78ce..2d38a301 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2019,7 +2019,7 @@ profile3:
profile5:
@echo $@
- @$(AWK) --pretty=_$@ -f "$(srcdir)"/$@.awk 2> _$@.err
+ @AWKPATH="$(srcdir)" $(AWK) --pretty=_$@ -f $@.awk 2> _$@.err
@cat _$@.err >> _$@ ; rm -f _$@.err
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
diff --git a/test/Makefile.in b/test/Makefile.in
index 284b6997..d42b6ecd 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2469,7 +2469,7 @@ profile3:
profile5:
@echo $@
- @$(AWK) --pretty=_$@ -f "$(srcdir)"/$@.awk 2> _$@.err
+ @AWKPATH="$(srcdir)" $(AWK) --pretty=_$@ -f $@.awk 2> _$@.err
@cat _$@.err >> _$@ ; rm -f _$@.err
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
diff --git a/test/profile5.ok b/test/profile5.ok
index 588d2c02..ca25230a 100644
--- a/test/profile5.ok
+++ b/test/profile5.ok
@@ -8176,7 +8176,7 @@ function zzer()
{
################################################################
}
-gawk: ./profile5.awk:3278: warning: regexp escape sequence `\~' is not a known regexp operator
-gawk: ./profile5.awk:3601: warning: regexp escape sequence `\!' is not a known regexp operator
-gawk: ./profile5.awk:3610: warning: regexp escape sequence `\:' is not a known regexp operator
-gawk: ./profile5.awk:3742: warning: regexp escape sequence `\,' is not a known regexp operator
+gawk: profile5.awk:3278: warning: regexp escape sequence `\~' is not a known regexp operator
+gawk: profile5.awk:3601: warning: regexp escape sequence `\!' is not a known regexp operator
+gawk: profile5.awk:3610: warning: regexp escape sequence `\:' is not a known regexp operator
+gawk: profile5.awk:3742: warning: regexp escape sequence `\,' is not a known regexp operator