From 93f192a8b1414b3fa3e1d0feffb11764f9239a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E4=BA=A6=E7=87=8A?= Date: Fri, 17 Oct 2025 16:30:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=BE=93=E5=85=A5=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=90=8D=E4=B8=8D=E8=AE=B0=E5=BD=95last=5Fca?= =?UTF-8?q?se.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mugen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mugen.sh b/mugen.sh index 79b47b8c5..d5b285e50 100644 --- a/mugen.sh +++ b/mugen.sh @@ -224,9 +224,6 @@ function run_test_case() { popd >/dev/null || return 1 return 0 fi - # 每个case执行前写入进度文件并强制刷盘 - echo "${test_suite}|${test_case}" > "$progress_file" - sync "$progress_file" if [[ -z "$test_suite" || -z "$test_case" ]]; then LOG_ERROR "Parameter(test suite or test case) loss." @@ -258,6 +255,9 @@ function run_test_case() { ((CASE_NUM++)) + # 每个case执行前写入进度文件并强制刷盘 + echo "${test_suite}|${test_case}" > "$progress_file" + sync "$progress_file" LOG_INFO "start to run testcase:$test_case." -- Gitee