From ab7761e64ed33016e5cc637da7c0d016cebc9b27 Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Mon, 16 Jan 2023 18:35:26 +0800 Subject: [PATCH] ci:modify the filename of the error log --- tests/parallel_test/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/parallel_test/run.sh b/tests/parallel_test/run.sh index b5d57265be..43533d4f36 100755 --- a/tests/parallel_test/run.sh +++ b/tests/parallel_test/run.sh @@ -184,6 +184,10 @@ function run_thread() { if [ $? -eq 0 ]; then case_file=`echo "$case_cmd"|grep -o ".*\.py"|awk '{print $NF}'` fi + echo "$case_cmd"|grep -q "^./pytest.sh" + if [ $? -eq 0 ]; then + case_file=`echo "$case_cmd"|grep -o ".*\.py"|awk '{print $NF}'` + fi echo "$case_cmd"|grep -q "\.sim" if [ $? -eq 0 ]; then case_file=`echo "$case_cmd"|grep -o ".*\.sim"|awk '{print $NF}'`