Commit c60f7e25 authored by Stefan Behnel's avatar Stefan Behnel

Provide debug output in the pyximport tests.

parent ec54ccca
...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()" ...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path import os.path
import pyximport import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
def test(): def test():
......
...@@ -7,6 +7,8 @@ import os.path ...@@ -7,6 +7,8 @@ import os.path
from contextlib import contextmanager from contextlib import contextmanager
import pyximport import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
@contextmanager @contextmanager
......
...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()" ...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path import os.path
import pyximport import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
def test(): def test():
......
...@@ -9,6 +9,8 @@ import pyximport ...@@ -9,6 +9,8 @@ import pyximport
# blacklist for speed # blacklist for speed
import pyximport.pyxbuild, Cython.Compiler.Pipeline import pyximport.pyxbuild, Cython.Compiler.Pipeline
pyximport.DEBUG_IMPORT = True
pyximport.install(pyximport=False, pyimport=True, pyximport.install(pyximport=False, pyimport=True,
build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
......
...@@ -6,6 +6,8 @@ PYTHON -c "import pyimport_test; pyimport_test.test()" ...@@ -6,6 +6,8 @@ PYTHON -c "import pyimport_test; pyimport_test.test()"
import os.path import os.path
import pyximport import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(pyximport=False, pyimport=True, pyximport.install(pyximport=False, pyimport=True,
build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
......
...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()" ...@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path import os.path
import pyximport import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP")) pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
def test(): def test():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment