Skip to content

Commit

Permalink
test: in integrate test, skip running test if test folder do not exis…
Browse files Browse the repository at this point in the history
…t. (#3793)

Co-authored-by: wqzhou <33364058+WHUweiqingzhou@users.noreply.github.com>
  • Loading branch information
pxlxingliang and WHUweiqingzhou committed Mar 26, 2024
1 parent 0ff630c commit 9f565d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integrate/Autotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ if [ "$sanitize" == true ]; then
fi

for dir in $testdir; do
if [ ! -d $dir ];then
echo -e "\e[0;31m[ERROR ]\e[0m $dir is not a directory.\n"
let fatal++
fatal_case_list+=$dir'\n'
continue
fi
cd $dir
echo -e "\e[0;32m[ RUN ]\e[0m $dir"
TIMEFORMAT='[----------] Time elapsed: %R seconds'
Expand Down

0 comments on commit 9f565d8

Please sign in to comment.