Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited516c4

Browse files
committed
test: fix metacov again
1 parentda833a1 commited516c4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎metacov.ini‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ branch = true
1111
data_file = ${COVERAGE_METAFILE-.metacov}
1212
parallel = true
1313
relative_files = true
14-
include =
15-
${COVERAGE_HOME-.}/coverage/*
16-
${COVERAGE_HOME-.}/tests/*
17-
**/coverage/*
14+
source =
15+
${COVERAGE_HOME-.}/coverage
16+
${COVERAGE_HOME-.}/tests
1817
# $set_env.py: COVERAGE_DYNCTX - Set to 'test_function' for who-tests-what
1918
dynamic_context = ${COVERAGE_DYNCTX-none}
2019
# $set_env.py: COVERAGE_CONTEXT - Static context for this run (or $ENV_VAR like $TOX_ENV_NAME)

‎tox.ini‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ commands =
4242

4343
# Build the C extension and test with the CTracer
4444
python setup.py --quiet build_ext --inplace
45-
python -m pip install {env:COVERAGE_PIP_ARGS} -q .
45+
# Installing with -e means with metacov we can measure ourselves without
46+
# getting all of site-packages measured also.
47+
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
4648
python igor.py clean_for_core ctrace
4749
python igor.py test_with_core ctrace {posargs}
4850

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp