From ade596114449c42f786a33eeb38f29d9fa0837aa Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 4 Sep 2017 15:04:48 +0300 Subject: Add --no-check-libs option to `b2 status` --- status/Jamfile.v2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'status') diff --git a/status/Jamfile.v2 b/status/Jamfile.v2 index a676133487..421f214100 100644 --- a/status/Jamfile.v2 +++ b/status/Jamfile.v2 @@ -15,6 +15,9 @@ # --check-libs-only # Only runs the library conformance tests. # +# --no-check-libs +# Do not run the library conformance tests. +# # --limit-tests, or --include-tests # Only runs the tests for whom the name matches the regex. # The value for the argument is a comma separated list of simple @@ -58,6 +61,7 @@ import feature ; import numbers ; local check-libs-only = [ MATCH "^--(check-libs-only)" : [ modules.peek : ARGV ] ] ; +local no-check-libs = [ MATCH "^--(no-check-libs)$" : [ modules.peek : ARGV ] ] ; local check-libs-only-targets = ; local libraries = ; @@ -112,7 +116,7 @@ local rule run-tests ( root : tests * ) { use-project /boost/$(test) : ../$(root)/$(test) ; } - if $(root) = libs && ( ! ( $(library) in $(libraries) ) ) + if $(root) = libs && ! $(no-check-libs) && ( ! ( $(library) in $(libraries) ) ) { libraries += $(library) ; local test_module = [ project.find ../$(root)/$(test) : $(location) ] ; -- cgit v1.2.1