Skip to content

Commit cc472d7

Browse files
committed
update keyword in distributed ut check
1 parent 5ff20ba commit cc472d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/ut_result_check.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ if [[ "${ut_suite}" == 'torch_xpu' ]]; then
7373
fi
7474
fi
7575
if [[ "${ut_suite}" == 'xpu_distributed' || "${ut_suite}" == 'pytorch_distributed' ]]; then
76-
grep -E "ERROR" "${ut_suite}"_test.log | awk '{print $2}' > ./"${ut_suite}"_test_failed.log
76+
grep -E "^FAILED|have failures" "${ut_suite}"_test.log | awk '{print $2}' > ./"${ut_suite}"_test_failed.log
7777
num_failed_distributed=$(wc -l < "./${ut_suite}_test_failed.log")
7878
echo -e "========================================================================="
79-
echo -e "Show Failed cases in ${ut_suite} xpu distributed"
79+
echo -e "Show Failed cases in ${ut_suite}"
8080
echo -e "========================================================================="
8181
cat "./${ut_suite}_test_failed.log"
8282
((num_failed=num_failed_distributed))

0 commit comments

Comments
 (0)