File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -913,11 +913,11 @@ def run_separate_and_combined_coverage(
913
913
# Generate an XML report for fast tests by telling Coverage where to find its data.
914
914
# Using the COVERAGE_FILE env var instead of --data-file avoids the absolute path issues.
915
915
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"
917
917
)
918
918
if generate_html_report :
919
919
hsystem .system (
920
- "COVERAGE_FILE=.coverage_fast coverage html -d htmlcov_fast"
920
+ "COVERAGE_FILE=.coverage_fast coverage html --ignore-errors - d htmlcov_fast"
921
921
)
922
922
# Erase any leftover default data.
923
923
hsystem .system ("coverage erase" )
@@ -930,11 +930,11 @@ def run_separate_and_combined_coverage(
930
930
hdbg .dassert_file_exists (".coverage_slow" )
931
931
# Generate an XML report for slow tests.
932
932
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"
934
934
)
935
935
if generate_html_report :
936
936
hsystem .system (
937
- "COVERAGE_FILE=.coverage_slow coverage html -d htmlcov_slow"
937
+ "COVERAGE_FILE=.coverage_slow coverage html --ignore-errors - d htmlcov_slow"
938
938
)
939
939
# Erase the default coverage data again.
940
940
hsystem .system ("coverage erase" )
You can’t perform that action at this time.
0 commit comments