Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72245 - sandbox/numpy/libs/python/numpy/test
From: ankitdaf_at_[hidden]
Date: 2011-05-28 08:53:04


Author: ankitdaf
Date: 2011-05-28 08:53:03 EDT (Sat, 28 May 2011)
New Revision: 72245
URL: http://svn.boost.org/trac/boost/changeset/72245

Log:
New addition to support boost.build
Added:
   sandbox/numpy/libs/python/numpy/test/Jamfile (contents, props changed)

Added: sandbox/numpy/libs/python/numpy/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/numpy/libs/python/numpy/test/Jamfile 2011-05-28 08:53:03 EDT (Sat, 28 May 2011)
@@ -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 ]
+
+ ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk