2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00

switch to using LoadableModule instead of SharedLibrary for test Python modules

This commit is contained in:
Jim Bosch
2012-04-16 23:58:34 -04:00
parent 65dc91f3da
commit 1d3a535e53

View File

@@ -23,7 +23,7 @@ def PythonUnitTest(env, script, dependencies):
return run
for name in ("ufunc", "templates", "ndarray", "indexing", "shapes"):
mod = test_env.SharedLibrary("%s_mod" % name, "%s_mod.cpp" % name, SHLIBPREFIX="")
mod = test_env.LoadableModule("%s_mod" % name, "%s_mod.cpp" % name, SHLIBPREFIX="")
test.extend(PythonUnitTest(test_env, "%s.py" % name, mod))
Return("test")