Skip to content

Commit

Permalink
Update generate-coverage-docs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Nov 11, 2024
1 parent 7a9e494 commit b9f564f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-coverage-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PY_VER=$(gdb -q -nx -ex 'pi print(f"{sys.version_info.major}.{sys.version_info.m
rm -f -- "${GEF_DOCS_DIR}"/*

echo "[+] Generating coverage report in '${TMPDIR_RUN}'"
COVERAGE_DIR="${TMPDIR_RUN}" python${PY_VER} -m pytest -v "${GEF_TESTS_DIR}" -k "not benchmark"
COVERAGE_DIR="${TMPDIR_RUN}" python${PY_VER} -m pytest --forked -n ${NB_CORES} -v "${GEF_TESTS_DIR}" -m "not benchmark"

echo "[+] Combining data to '${TMPDIR_COV}'"
python${PY_VER} -m coverage combine --data-file=${TMPDIR_COV} "${TMPDIR_RUN}"/*
Expand Down

0 comments on commit b9f564f

Please sign in to comment.