mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
New addition to support boost.build
This commit is contained in:
26
libs/python/numpy/test/Jamfile
Normal file
26
libs/python/numpy/test/Jamfile
Normal file
@@ -0,0 +1,26 @@
|
||||
import testing ;
|
||||
import python ;
|
||||
|
||||
use-project /boost/numpy : ../src ;
|
||||
project /boost/numpy/test
|
||||
: requirements
|
||||
# Why isn't this provided by 'using python' ?
|
||||
#<include>/usr/include/python2.7
|
||||
;
|
||||
|
||||
rule numpy-test ( name : sources * : requirements * )
|
||||
{
|
||||
# local s ;
|
||||
sources ?= $(name).py $(name)_mod.cpp ;
|
||||
return [ testing.make-test run-pyd : $(sources) /boost/numpy//boost_numpy
|
||||
: $(requirements) : $(name) ] ;
|
||||
}
|
||||
|
||||
|
||||
test-suite numpy
|
||||
:
|
||||
|
||||
[ numpy-test templates ]
|
||||
[ numpy-test ufunc ]
|
||||
|
||||
;
|
||||
Reference in New Issue
Block a user