2
0
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:
Ankit Daftery
2011-05-28 12:53:03 +00:00
parent 930167e961
commit 39b9047190

View 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 ]
;