From 36f38aa26524bcf225d9fb6af89488475eaa3894 Mon Sep 17 00:00:00 2001 From: openharmony_ci <120357966@qq.com> Date: Tue, 29 Nov 2022 01:25:36 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!268=20:?= =?UTF-8?q?=20=E5=88=86=E5=B8=83=E5=BC=8F=E7=94=A8=E4=BE=8B=E4=B8=8B?= =?UTF-8?q?=E7=BA=BF'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screenshot32/resource/capturescreentest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenshot32/resource/capturescreentest.py b/screenshot32/resource/capturescreentest.py index e68766f..4490bf2 100644 --- a/screenshot32/resource/capturescreentest.py +++ b/screenshot32/resource/capturescreentest.py @@ -314,7 +314,7 @@ if __name__ == "__main__": if "State=2" not in power_state: PrintToLog("SmokeTest:: DISPLAY POWER MANAGER DUMP State=0") SysExit() - if "distributed on" in args.test_num: + if "1/2" in args.test_num or "2/2" in args.test_num: EnterShellCmd("param set persist.ace.testmode.enabled 1", 1) EnterShellCmd("rm /data/log/hilog/*;hilog -r;hilog -Q pidoff;hilog -Q domainoff;hilog -G 512M;hilog -b D", 1) picture_path = os.path.normpath(os.path.join(args.tools_path, "DistributedTest\\testcases")) -- Gitee