From ee9a70268b96367e0bf426f6635e829bc280cfbf Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 26 Oct 2016 16:43:55 -0500 Subject: [PATCH] Fix missing numpy tests. We ensure that we don't have tests with subdirectories in the name to avoid a log processing defficiency (and not easily resolved) of not supporting subdirs for individual tests. --- src/tools/python.jam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index d2d47b866..8e1adf976 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -1307,10 +1307,11 @@ rule numpy-test ( name : sources * : requirements * ) requirements += no ; } sources ?= $(name).py $(name).cpp ; + name = [ regex.replace $(name) "[/]" "~" ] ; return [ testing.make-test run-pyd : $(sources) /boost/python//boost_numpy /boost/python//boost_python : $(requirements) $(numpy-include) - : $(name) ] ; + : $(name) ] ; } IMPORT $(__name__) : bpl-test : : bpl-test ;