aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-07 08:55:44 +0000
committerOmar Polo <op@omarpolo.com>2021-10-07 08:55:44 +0000
commit3096da4ef4418dc57f3e0b1fb1f89dceb2ca426a (patch)
tree5c8692366461c03967a6faab311f44be3f42af11 /Makefile
parente4daebe44aedd66413f82319252a7e579133945d (diff)
allow to run only a subset of the runtime tests
with make TESTS='test_1 test_2 ...' regress now it's possible to run only that specified subset of tests. It's really useful during debugging :)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55a7540..6af9942 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+# tests to run as a port of the regression suite. Leave empty to run
+# all.
+TESTS=
+
.PHONY: all static clean regress install
all: Makefile.local gmid TAGS compile_flags.txt
@@ -29,7 +33,7 @@ clean:
${MAKE} -C regress clean
regress: gmid
- ${MAKE} -C regress all
+ ${MAKE} TESTS=${TESTS} -C regress all
install: gmid
mkdir -p ${DESTDIR}${BINDIR}