Skip to content

Commit

Permalink
test: run the pytracer first so .tox is left with a c extension for a…
Browse files Browse the repository at this point in the history
…d-hoc use
  • Loading branch information
nedbat committed Feb 2, 2025
1 parent cd2db93 commit d6a1e5b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ commands =
# Create tests/zipmods.zip
python igor.py zip_mods

# Remove the C extension so that we can test the PyTracer
python igor.py remove_extension

# Test with the PyTracer
python igor.py test_with_core pytrace {posargs}

# Build the C extension and test with the CTracer
python setup.py --quiet build_ext --inplace
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
python igor.py test_with_core ctrace {posargs}

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

# Remove the C extension so that we can test the PyTracer
python igor.py remove_extension

# Test with the PyTracer
python igor.py test_with_core pytrace {posargs}

[testenv:anypy]
# $set_env.py: COVERAGE_ANYPY - The custom Python for "tox -e anypy"
# For running against my own builds of CPython, or any other specific Python.
Expand Down

0 comments on commit d6a1e5b

Please sign in to comment.