Jim Bosch
fcbba59630
Enable tests in CMake build and fix relative path problems.
...
As reported in #46 , tests were not being built with CMake due
to a typo. But they were also broken, because the relative path
to the dynamic library used in the link commands for the test
Python modules wasn't appropriate for running the tests from
the source directory. Instead, we now copy the Python test
scripts to the build directory and run them there.
2015-09-09 23:27:40 -04:00
Christoph Lassner
bc13c4c600
Fixed unsigned long test error.
2014-11-23 12:39:57 -05:00
Christoph Lassner
73b8350e53
Switch SCons to use SConsChecks submodule for Windows support
2014-11-23 12:39:52 -05:00
Neal D. Becker
81551cf6b6
port to py3
2014-06-02 09:40:00 -04:00
Jonas Hoersch
c8798676f6
cmake: switch from using deprecated linklibraries to target_linklibraries
...
the total information duplication actually decreases and it
facilitates reusing CMake instructions from outer projects.
2013-10-06 20:03:51 +02:00
Philip Miller
0b59058fa2
Add cmake build system, fix examples for Windows compatibility.
2013-03-15 23:08:16 -04:00
Jim Bosch
2e47285fb5
Add license file and license header to source files.
2012-09-26 00:33:10 -04:00
Jim Bosch
2f7742ffec
add more permissive equivalence test for dtypes, start using it in tests
2012-09-18 23:13:29 -04:00
Ilya Kolpakov
46b959cceb
ufunc tests now ensure that return value is the same object as the 'output' (if it is provided) argument being the same object as the ufunc return value
2012-09-04 12:10:55 +02:00
Ilya Kolpakov
ca3526c76a
ufunc test now uses assert_array_almost_equal instead of bitwise(?) comparison
2012-09-04 11:30:58 +02:00
Jim Bosch
a35cbd1af1
Switch to use RPATH in test and example builds ( #5 ).
2012-05-13 17:50:15 -04:00
Jim Bosch
28a9fab278
Overhauled how builtin dtype objects are accessed for better consistency, added converters for array scalars.
2012-05-13 13:03:10 -04:00
Jim Bosch
dbe4903887
fix LoadableModule suffix on darwin
2012-04-29 12:55:57 -04:00
Jim Bosch
313dcbb628
added as_matrix call policy
2012-04-21 16:46:28 -04:00
Jim Bosch
dca44829a6
untabify python test files
2012-04-21 16:34:01 -04:00
Jim Bosch
588027252b
Remove unnecessary shared_ptr in class_ for ufuncs (from Neal Becker).
...
Signed-off-by: Jim Bosch <jbosch@astro.princeton.edu >
2012-04-17 22:01:39 -04:00
Jim Bosch
1d3a535e53
switch to using LoadableModule instead of SharedLibrary for test Python modules
2012-04-16 23:58:34 -04:00
Jim Bosch
65dc91f3da
add bang lines to Python unit test scripts
2012-04-16 23:50:46 -04:00
Jim Bosch
38e68fa2ae
overhauled scons scripts
2012-03-18 18:57:14 -04:00
Jim Bosch
32d2135462
boost/numpy - enabled new unit tests in old SCons build system
2011-08-25 23:32:43 +00:00
Stefan Seefeld
196c9e653f
Fix indexing tests.
2011-07-03 20:36:55 +00:00
Stefan Seefeld
b2519a25a9
Rename (and move) boost.python.numpy to boost.numpy.
2011-07-03 16:40:30 +00:00