Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#12 from shjNT/shj0
Browse files Browse the repository at this point in the history
fix run
  • Loading branch information
shjNT committed Dec 23, 2021
2 parents b591703 + 8a2e733 commit 1173db6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_examples/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ cases=`find . -maxdepth 1 -name "test_*.py" | sort `
ignore=""
bug=0

echo "" > result.txt
for file in ${cases}
do
echo ${file}
Expand All @@ -33,6 +34,6 @@ else
fi
done

echo "total bugs: "${bug} > result.txt
echo "total bugs: "${bug} >> result.txt
cat result.txt
exit ${bug}

0 comments on commit 1173db6

Please sign in to comment.