From 00f96d34b0733e4a0e28ab3905bf3352ff46ceb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Fri, 26 Jan 2024 12:06:19 +0100 Subject: [PATCH] tests: make ansi-test a separate target not triggered by make check --- Makefile.in | 3 +++ src/Makefile.in | 3 +++ src/tests/Makefile.in | 6 ++---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 005350f0c..961a4d45a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) diff --git a/src/Makefile.in b/src/Makefile.in index 91479f547..6a7b93473 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -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. diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in index 096898fed..f672a8826 100755 --- a/src/tests/Makefile.in +++ b/src/tests/Makefile.in @@ -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)))" \