From 8a2e7335f97cd7404aee42f29537fb1bf9337cd0 Mon Sep 17 00:00:00 2001 From: shjNT Date: Thu, 23 Dec 2021 10:20:41 +0800 Subject: [PATCH] fix run --- tests/test_examples/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_examples/run.sh b/tests/test_examples/run.sh index 8dfa3ae25..60c098cc5 100644 --- a/tests/test_examples/run.sh +++ b/tests/test_examples/run.sh @@ -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} @@ -33,6 +34,6 @@ else fi done -echo "total bugs: "${bug} > result.txt +echo "total bugs: "${bug} >> result.txt cat result.txt exit ${bug}