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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user