Skip to content

Commit d6a1e5b

Browse files
committed
test: run the pytracer first so .tox is left with a c extension for ad-hoc use
1 parent cd2db93 commit d6a1e5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: tox.ini

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ commands =
4141
# Create tests/zipmods.zip
4242
python igor.py zip_mods
4343

44+
# Remove the C extension so that we can test the PyTracer
45+
python igor.py remove_extension
46+
47+
# Test with the PyTracer
48+
python igor.py test_with_core pytrace {posargs}
49+
4450
# Build the C extension and test with the CTracer
4551
python setup.py --quiet build_ext --inplace
4652
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
4753
python igor.py test_with_core ctrace {posargs}
4854

4955
py3{12,13,14},anypy: python igor.py test_with_core sysmon {posargs}
5056

51-
# Remove the C extension so that we can test the PyTracer
52-
python igor.py remove_extension
53-
54-
# Test with the PyTracer
55-
python igor.py test_with_core pytrace {posargs}
56-
5757
[testenv:anypy]
5858
# $set_env.py: COVERAGE_ANYPY - The custom Python for "tox -e anypy"
5959
# For running against my own builds of CPython, or any other specific Python.

0 commit comments

Comments
 (0)