From 39b90471900fc00b9663572cb723bf65feca7c30 Mon Sep 17 00:00:00 2001 From: Ankit Daftery Date: Sat, 28 May 2011 12:53:03 +0000 Subject: [PATCH] New addition to support boost.build --- libs/python/numpy/test/Jamfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 libs/python/numpy/test/Jamfile diff --git a/libs/python/numpy/test/Jamfile b/libs/python/numpy/test/Jamfile new file mode 100644 index 00000000..1e712918 --- /dev/null +++ b/libs/python/numpy/test/Jamfile @@ -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' ? + #/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 ] + + ;