summaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
Diffstat (limited to 'status')
-rw-r--r--status/Jamfile.v226
1 files changed, 26 insertions, 0 deletions
diff --git a/status/Jamfile.v2 b/status/Jamfile.v2
index 421f214100..c8417540ff 100644
--- a/status/Jamfile.v2
+++ b/status/Jamfile.v2
@@ -150,6 +150,26 @@ local rule run-tests ( root : tests * )
}
}
+local rule find-targets ( target : libs * )
+{
+ local result = ;
+
+ for local lib in $(libs)
+ {
+ local path = ../libs/$(lib)/test ;
+ local project = [ project.load $(path) ] ;
+ local pt = [ project.target $(project) ] ;
+ local mt = [ $(pt).main-target $(target) ] ;
+
+ if $(mt)
+ {
+ result += $(path)//$(target) ;
+ }
+ }
+
+ return $(result) ;
+}
+
local libs-to-test = ;
for local libdir in [ path.glob $(BOOST_ROOT) : libs/* ]
{
@@ -188,3 +208,9 @@ if $(check-libs-only-targets)
{
alias check-libs-only : $(check-libs-only-targets) ;
}
+
+alias minimal : [ find-targets minimal : $(libs-to-test) ] ;
+explicit minimal ;
+
+alias quick : [ find-targets quick : $(libs-to-test) ] ;
+explicit quick ;