Skip to content

Commit 06a7955

Browse files
committed
Minor change
1 parent 303eb7a commit 06a7955

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

test.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ do
2424
test_mode="custom"
2525
elif [[ $var == "report" ]]; then
2626
test_mode="report"
27-
elif [[ $var == "combine" ]]; then
28-
test_mode="combine"
2927
elif [[ $var == "silent" || $var == "print" ]]; then
3028
print_mode="silent"
3129
elif [[ "$var" == *"test_"*".py"* ]]; then
@@ -169,12 +167,7 @@ set_ray_coveragerc()
169167
show_coverage_report()
170168
{
171169
set_ray_coveragerc
172-
coverage report -m --fail-under=100 --skip-covered --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py,conftest.py,"*__init__.py" $fcoveragerc
173-
}
174-
175-
combine_coverage_data_files()
176-
{
177-
coverage combine
170+
coverage report --show-missing --fail-under=100 --skip-covered --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py $fcoveragerc
178171
}
179172

180173
test_custom()
@@ -382,11 +375,6 @@ elif [[ $test_mode == "report" ]]; then
382375
# Assume coverage tests have already been executed
383376
# and a coverage file exists
384377
show_coverage_report
385-
elif [[ $test_mode == "combine" ]]; then
386-
echo "Combine All Coverage Data Files"
387-
# Assume coverage tests have already been executed
388-
# and a coverage file exists
389-
combine_coverage_data_files
390378
elif [[ $test_mode == "gpu" ]]; then
391379
echo "Executing GPU Unit Tests Only"
392380
test_gpu

0 commit comments

Comments
 (0)