File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,10 @@ if [[ "${ut_suite}" == 'torch_xpu' ]]; then
73
73
fi
74
74
fi
75
75
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
77
77
num_failed_distributed=$( wc -l < " ./${ut_suite} _test_failed.log" )
78
78
echo -e " ========================================================================="
79
- echo -e " Show Failed cases in ${ut_suite} xpu distributed "
79
+ echo -e " Show Failed cases in ${ut_suite} "
80
80
echo -e " ========================================================================="
81
81
cat " ./${ut_suite} _test_failed.log"
82
82
(( num_failed= num_failed_distributed))
You can’t perform that action at this time.
0 commit comments