fix coverage generation

pull/1300/head
Gulshan Singh 3 years ago
parent f0ea79575d
commit eb18b04e54

@ -12,6 +12,9 @@ extend_skip_glob = ["gdb-pt-dump/*"]
branch = true
parallel = true
disable_warnings = ["module-not-imported"]
source = ["."]
source = ["${SRC_DIR-.}"]
omit = ["ida_script.py"]
data_file = ".cov/coverage"
[tool.coverage.report]
omit = ["ida_script.py", "tests/*"]

@ -68,6 +68,7 @@ tests_failed=0
for test_case in ${TESTS_LIST}; do
gdb_args=(-ex 'py import coverage;coverage.process_startup()' --command $GDB_INIT_PATH --command pytests_launcher.py)
SRC_DIR=$ROOT_DIR \
COVERAGE_FILE=$ROOT_DIR/.cov/coverage \
COVERAGE_PROCESS_START=$COVERAGERC_PATH \
USE_PDB="${USE_PDB}" \

Loading…
Cancel
Save