1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00

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>
This commit is contained in:
Stefan Metzmacher 2020-11-23 10:38:49 +01:00 committed by Andreas Schneider
parent 709a6d6491
commit 1e47149402

View File

@ -15,6 +15,9 @@ uninstall:
test: test:
$(WAF) test $(TEST_OPTIONS) $(WAF) test $(TEST_OPTIONS)
testonly:
$(WAF) testonly $(TEST_OPTIONS)
perftest: perftest:
$(WAF) test --perf-test $(TEST_OPTIONS) $(WAF) test --perf-test $(TEST_OPTIONS)