From aa9a1644f4139d753d622d4552d7c88580a53073 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 23 Nov 2020 10:38:49 +0100 Subject: 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 Reviewed-by: Andreas Schneider (cherry picked from commit 1e4714940211b10ae6574770f15b7c6ed95f5f59) (cherry picked from commit 9fed2749c039164794faadef71aa83cfd360d130) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.1