summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-11-23 10:38:49 +0100
committerKarolin Seeger <kseeger@samba.org>2021-03-03 08:11:09 +0000
commitaa9a1644f4139d753d622d4552d7c88580a53073 (patch)
treeba410beb3b73ff2de0720948d9a88dfe2b467a80 /Makefile
parent9806b67ee4c2dd4e1ef42b03517c0ffda40f2ace (diff)
downloadsamba-aa9a1644f4139d753d622d4552d7c88580a53073.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. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14628 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit 1e4714940211b10ae6574770f15b7c6ed95f5f59) (cherry picked from commit 9fed2749c039164794faadef71aa83cfd360d130)
Diffstat (limited to 'Makefile')
-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)