aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-08-16 21:50:39 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-08-16 21:50:39 +0300
commit0c8b9b59ebfe9e2e7a486205dd336d3dada54787 (patch)
treefa96a92f22fba1ddffa224053629bb35d2907ba9
parenta5322c683fdda25238a2239641e6873a935dd643 (diff)
downloadegawk-0c8b9b59ebfe9e2e7a486205dd336d3dada54787.tar.gz
egawk-0c8b9b59ebfe9e2e7a486205dd336d3dada54787.tar.bz2
egawk-0c8b9b59ebfe9e2e7a486205dd336d3dada54787.zip
Fix test suite for make distcheck.
-rw-r--r--test/ChangeLog6
-rw-r--r--test/Makefile.am7
-rw-r--r--test/Makefile.in7
3 files changed, 14 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index b515aa08..8477084e 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (EXTRA_DIST): Add aryunasgn files.
+ (arrdbg): Make test work on out-of-tree builds in order
+ to pass `make distcheck'.
+
2017-08-13 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am: Sort and prettify the lists of tests.
diff --git a/test/Makefile.am b/test/Makefile.am
index c00e64ef..a4da78c1 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -111,6 +111,8 @@ EXTRA_DIST = \
aryprm9.ok \
arysubnm.awk \
arysubnm.ok \
+ aryunasgn.awk \
+ aryunasgn.ok \
asgext.awk \
asgext.in \
asgext.ok \
@@ -2410,9 +2412,8 @@ ignrcas3::
arrdbg:
@echo $@
- @$(AWK) -v "okfile=$(srcdir)/$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok
-# @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok || exit 0
+ @$(AWK) -v "okfile=./$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@
+ @-$(CMP) ./$@.ok _$@ && rm -f _$@ ./$@.ok
fwtest3:
@echo $@
diff --git a/test/Makefile.in b/test/Makefile.in
index ea577ce3..ec3eb791 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -369,6 +369,8 @@ EXTRA_DIST = \
aryprm9.ok \
arysubnm.awk \
arysubnm.ok \
+ aryunasgn.awk \
+ aryunasgn.ok \
asgext.awk \
asgext.in \
asgext.ok \
@@ -2847,9 +2849,8 @@ ignrcas3::
arrdbg:
@echo $@
- @$(AWK) -v "okfile=$(srcdir)/$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok
-# @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok || exit 0
+ @$(AWK) -v "okfile=./$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@
+ @-$(CMP) ./$@.ok _$@ && rm -f _$@ ./$@.ok
fwtest3:
@echo $@