From 0c8b9b59ebfe9e2e7a486205dd336d3dada54787 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 16 Aug 2017 21:50:39 +0300 Subject: Fix test suite for make distcheck. --- test/ChangeLog | 6 ++++++ test/Makefile.am | 7 ++++--- test/Makefile.in | 7 ++++--- 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 + + * 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 * 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 $@ -- cgit v1.2.3