mirror of
https://github.com/boostorg/boost.git
synced 2026-07-21 13:13:43 +00:00
Add --no-check-libs option to b2 status
This commit is contained in:
+5
-1
@@ -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) ] ;
|
||||
|
||||
Reference in New Issue
Block a user