2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

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.
This commit is contained in:
Rene Rivera
2016-10-26 16:43:55 -05:00
parent 594ef7b1da
commit ee9a70268b

View File

@@ -1307,10 +1307,11 @@ rule numpy-test ( name : sources * : requirements * )
requirements += <build>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) <include>$(numpy-include)
: $(name) ] ;
: $(name) ] ;
}
IMPORT $(__name__) : bpl-test : : bpl-test ;