From c0c0cf70a8579095d5b7c0fb53f86fca21799e52 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 11 Nov 2020 19:26:17 +0100 Subject: Add a `make tests` to run the testsuite --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4520875..695bfc0 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,7 @@ compile_debug: ## compile a debug build export CFLAGS="-g3 -ggdb -O1 -g"; cd src; ./configure --enable-snuffleupagus --enable-debug make -C src -debug: compile_debug ## compile and run a debug build - sed -i "s/\$$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" src/run-tests.php +tests: release TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 make -C src test coverage: ## compile snuffleugpaus, and run the testsuite with coverage -- cgit v1.3