ci:modify the filename of the error log

This commit is contained in:
chenhaoran 2023-01-16 18:35:26 +08:00
parent 2f889eb77e
commit ab7761e64e
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ function run_thread() {
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
case_file=`echo "$case_cmd"|grep -o ".*\.py"|awk '{print $NF}'` case_file=`echo "$case_cmd"|grep -o ".*\.py"|awk '{print $NF}'`
fi 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" echo "$case_cmd"|grep -q "\.sim"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
case_file=`echo "$case_cmd"|grep -o ".*\.sim"|awk '{print $NF}'` case_file=`echo "$case_cmd"|grep -o ".*\.sim"|awk '{print $NF}'`