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()"
import os.path
import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
def test():
......
......@@ -7,6 +7,8 @@ import os.path
from contextlib import contextmanager
import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
@contextmanager
......
......@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path
import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
def test():
......
......@@ -9,6 +9,8 @@ import pyximport
# blacklist for speed
import pyximport.pyxbuild, Cython.Compiler.Pipeline
pyximport.DEBUG_IMPORT = True
pyximport.install(pyximport=False, pyimport=True,
build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
......
......@@ -6,6 +6,8 @@ PYTHON -c "import pyimport_test; pyimport_test.test()"
import os.path
import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(pyximport=False, pyimport=True,
build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
......
......@@ -6,6 +6,8 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path
import pyximport
pyximport.DEBUG_IMPORT = True
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "TEST_TMP"))
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