Skip to content

Commit 497bc37

Browse files
Update run_mac_test.sh (#73289)
* Update run_mac_test.sh
1 parent 85cbe2c commit 497bc37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/run_mac_test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ EOF
197197
echo "The following unittest will be re-run:"
198198
echo "${retry_unittests}"
199199
echo "========================================="
200-
201200
retry_unittests_regular=''
202201
for line in ${retry_unittests[@]} ;
203202
do
@@ -207,7 +206,7 @@ EOF
207206
retry_unittests_regular="$retry_unittests_regular|^$line$"
208207
fi
209208
done
210-
find $tmp_dir -delete
209+
find $tmp_dir -mindepth 1 -delete
211210
failed_test_lists=''
212211
ctest -R "($retry_unittests_regular)" --output-on-failure -j 4 | tee $tmpfile
213212
collect_failed_tests

0 commit comments

Comments
 (0)