Skip to content

Commit c6e7ba0

Browse files
authored
Update slim_ci_api_coverage.sh
1 parent f42abee commit c6e7ba0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/PaddleSlim/CI/Slim_CI_all_case/slim_ci_api_coverage.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ run_api_case(){
3737
cases=`find ./ -name "test*.py" | sort`
3838
#ignore="test_analysis_helper.py"
3939
ignore=""
40-
for line in `ls test_*.py`
40+
for line in `ls test_*.py | sort`
4141
do
4242
{
4343
name=`echo ${line} | cut -d \. -f 1`
@@ -57,7 +57,7 @@ wait
5757
run_api_case_dygraph(){
5858
if [ -d ${slim_dir}/tests/dygraph ];then
5959
cd ${slim_dir}/tests/dygraph
60-
for line in `ls test_*.py`
60+
for line in `ls test_*.py | sort`
6161
do
6262
{
6363
name=`echo ${line} | cut -d \. -f 1`
@@ -76,7 +76,7 @@ wait
7676
run_api_case_act(){
7777
if [ -d ${slim_dir}/tests/act ];then
7878
cd ${slim_dir}/tests/act
79-
for line in `ls test_*.py`
79+
for line in `ls test_*.py | sort`
8080
do
8181
{
8282
name=`echo ${line} | cut -d \. -f 1`

0 commit comments

Comments
 (0)