Skip to content

Commit f10095d

Browse files
committed
test
1 parent d808f17 commit f10095d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

helpers/lib_tasks_pytest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,11 +913,11 @@ def run_separate_and_combined_coverage(
913913
# Generate an XML report for fast tests by telling Coverage where to find its data.
914914
# Using the COVERAGE_FILE env var instead of --data-file avoids the absolute path issues.
915915
hsystem.system(
916-
"COVERAGE_FILE=.coverage_fast coverage xml -o coverage_fast.xml"
916+
"COVERAGE_FILE=.coverage_fast coverage xml --ignore-errors -o coverage_fast.xml"
917917
)
918918
if generate_html_report:
919919
hsystem.system(
920-
"COVERAGE_FILE=.coverage_fast coverage html -d htmlcov_fast"
920+
"COVERAGE_FILE=.coverage_fast coverage html --ignore-errors -d htmlcov_fast"
921921
)
922922
# Erase any leftover default data.
923923
hsystem.system("coverage erase")
@@ -930,11 +930,11 @@ def run_separate_and_combined_coverage(
930930
hdbg.dassert_file_exists(".coverage_slow")
931931
# Generate an XML report for slow tests.
932932
hsystem.system(
933-
"COVERAGE_FILE=.coverage_slow coverage xml -o coverage_slow.xml"
933+
"COVERAGE_FILE=.coverage_slow coverage xml --ignore-errors -o coverage_slow.xml"
934934
)
935935
if generate_html_report:
936936
hsystem.system(
937-
"COVERAGE_FILE=.coverage_slow coverage html -d htmlcov_slow"
937+
"COVERAGE_FILE=.coverage_slow coverage html --ignore-errors -d htmlcov_slow"
938938
)
939939
# Erase the default coverage data again.
940940
hsystem.system("coverage erase")

0 commit comments

Comments
 (0)