summaryrefslogtreecommitdiffstats
path: root/testsuite/check.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/check.mk')
-rw-r--r--testsuite/check.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/check.mk b/testsuite/check.mk
index 538fffd..01709f8 100644
--- a/testsuite/check.mk
+++ b/testsuite/check.mk
@@ -15,8 +15,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
built_programs = \
- echo 'spy:;@echo $$(all_programs)' \
- | MAKEFLAGS= $(MAKE) -s -C $(top_builddir)/src -f Makefile -f - spy
+ echo 'spy:;@echo $$(PROGRAMS) $$(SCRIPTS)' \
+ | MAKEFLAGS= $(MAKE) -s -C $(top_builddir)/src -f Makefile -f - spy \
+ | tr -s ' ' '\n' | sed -e 's,$(EXEEXT)$$,,'
# Note that the first lines are statements. They ensure that environment
# variables that can perturb tests are unset or set to expected values.
@@ -64,6 +65,7 @@ TESTS_ENVIRONMENT = \
PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
REPLACE_GETCWD=$(REPLACE_GETCWD) \
PATH="$(abs_top_builddir)/src$(PATH_SEPARATOR)$(abs_top_srcdir)/src$(PATH_SEPARATOR)$$PATH" \
+ VERSION=$(VERSION) \
; shell_or_perl_
TEST_LOGS = $(TESTS:=.log)