From 9070d5c5d85e15a04324b6a5f2f1e2c9a7ecc1b6 Mon Sep 17 00:00:00 2001 From: zhangchunle Date: Wed, 2 Mar 2022 14:08:19 +0800 Subject: [PATCH] test=document_fix;record py3 case time (#40018) --- paddle/scripts/paddle_build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 9bef7e1285..ed70a8638b 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -776,7 +776,9 @@ set +x tmpfile=$tmp_dir/$tmpfile_rand ctest -R "$UT_list_prec_1" -E "$disable_ut_quickly" -LE ${nightly_label} --output-on-failure -j $2 | tee $tmpfile fi - + ut_total_endTime_s=`date +%s` + echo "TestCases Total Time: $[ $ut_total_endTime_s - $ut_actual_total_startTime_s ]s" + collect_failed_tests rm -f $tmp_dir/* exec_times=0 -- GitLab