summaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@pdimov.com>2017-09-04 15:04:48 +0300
committerPeter Dimov <pdimov@pdimov.com>2017-09-08 19:20:44 +0300
commitade596114449c42f786a33eeb38f29d9fa0837aa (patch)
tree2d3377e76f79f15197cc8c5d1d49d7ccea84fe8d /status
parent9fce53724e96b07a507cc3094fb4eb6bb3889c0e (diff)
downloadboost-ade596114449c42f786a33eeb38f29d9fa0837aa.tar.gz
Add --no-check-libs option to `b2 status`
Diffstat (limited to 'status')
-rw-r--r--status/Jamfile.v26
1 files changed, 5 insertions, 1 deletions
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) ] ;