tests: make ansi-test a separate target not triggered by make check

This commit is contained in:
Daniel Kochmański 2024-01-26 12:06:19 +01:00
parent ba45731c19
commit 00f96d34b0
3 changed files with 8 additions and 4 deletions

View file

@ -115,6 +115,9 @@ realclean: distclean
check:
cd build && $(MAKE) check TESTS="$(TESTS)"
ansi-test:
cd build && $(MAKE) ansi-test
# ==================== Various means of distribution ====================
TAR_DIR=ecl-$(VERSION)

View file

@ -273,6 +273,9 @@ test_changes:
check:
cd tests && $(MAKE) clean && $(MAKE) check TESTS="$(TESTS)"
ansi-test:
cd tests && $(MAKE) clean && $(MAKE) ansi-test
#
# Rebuild ECL using its own image and compare. Does not work
# right now.

View file

@ -4,13 +4,11 @@
ECL=@prefix@/@bindir@/ecl@EXEEXT@
SHELL=/bin/bash -o pipefail
.PHONY: all check test ansi-test
.PHONY: all check ansi-test
all: check
check: test ansi-test
test: config.lsp
check: config.lsp
$(ECL) --norc \
--load config.lsp \
--eval "(ecl-tests::run-tests '($(TESTS)))" \