diff options
author | Rene Rivera <grafikrobot@gmail.com> | 2018-06-22 21:06:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 21:06:53 -0500 |
commit | 801a2c6519bfde718a9ce9b3bb762879465c537f (patch) | |
tree | d1a1a3dc0151e1345a43c225e9d3b80e223c007f /status | |
parent | b60b1591f8d217b39496319da3c7b3f3e36a1e62 (diff) | |
download | boost-801a2c6519bfde718a9ce9b3bb762879465c537f.tar.gz |
Avoid errors when tool submodules do not exist.
Bring in change from develop to allow merging b2 & predef to master.
Diffstat (limited to 'status')
-rw-r--r-- | status/Jamfile.v2 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/status/Jamfile.v2 b/status/Jamfile.v2 index bdaddce21d..e36f775362 100644 --- a/status/Jamfile.v2 +++ b/status/Jamfile.v2 @@ -1,5 +1,5 @@ # Copyright 2002. Dave Abrahams -# Copyright 2016. Rene Rivera +# Copyright 2016-2018. Rene Rivera # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) @@ -197,7 +197,16 @@ run-tests libs : $(libs-to-test)/test ; # Tests from Jamfiles in tools/ # Please keep these in alphabetical order -local tools-to-test = bcp check_build quickbook ; +local tools-to-test = ; +for local tooldir in bcp check_build quickbook +{ + local jamfile = [ modules.peek project : JAMFILE ] ; + local jamfiles = [ path.glob [ path.join tools $(tooldir) test ] : $(jamfile) ] ; + if $(jamfiles) + { + tools-to-test += $(tooldir) ; + } +} run-tests tools : $(tools-to-test)/test ; |