summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-11-23 10:38:49 +0100
committerAndreas Schneider <asn@cryptomilk.org>2021-01-27 09:56:29 +0000
commit1e4714940211b10ae6574770f15b7c6ed95f5f59 (patch)
tree9b25c337a479e1a81f1abe878c277ee035f7a025
parent709a6d6491f24c9325977770d2ab274cf6485b84 (diff)
downloadsamba-1e4714940211b10ae6574770f15b7c6ed95f5f59.tar.gz
Makefile: add support for 'make testonly'
That skips any attempt to recompile before running the tests. Some times that's useful for debugging and we'll use it to split the build and test stages in autobuild and gitlab-ci later. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0b7b0ae8866..7f5960d5191 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ uninstall:
test:
$(WAF) test $(TEST_OPTIONS)
+testonly:
+ $(WAF) testonly $(TEST_OPTIONS)
+
perftest:
$(WAF) test --perf-test $(TEST_OPTIONS)