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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user