Skip to content

Commit

Permalink
fix bugs (#62428)
Browse files Browse the repository at this point in the history
  • Loading branch information
haohongxiang authored Mar 6, 2024
1 parent 3de4a22 commit 948a1b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/auto_parallel/ci_case_unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function case_list_unit() {
case_name=`awk -F, 'NR=='$i' {print $1}' testslist.csv`
if [[ ${target_key} != "all" ]] && [[ ! ${case_name} =~ ${target_key} ]]; then
echo "=========== skip $case_name run ==========="
continue
else
echo "=========== $case_name run begin ==========="
fi
Expand All @@ -51,13 +52,13 @@ main() {
export exec_case=$1
echo -e "\033[31m ---- Start executing $exec_case case \033[0m"

if [[ $exec_case =~ "auto_unit_test" ]];then
if [[ $exec_case == "auto_unit_test" ]];then
cd ${auto_case_path}
case_list_unit
elif [[ $exec_case =~ "dygraph_unit_test" ]];then
elif [[ $exec_case == "dygraph_unit_test" ]];then
cd ${dygraph_case_path}
case_list_unit
elif [[ $exec_case =~ "llama_auto_unit_test" ]];then
elif [[ $exec_case == "llama_auto_unit_test" ]];then
cd ${auto_case_path}
case_list_unit llama
else
Expand Down

0 comments on commit 948a1b0

Please sign in to comment.