From d9ed30fc9d995ceb5872f9ed848d6457c70ce0a0 Mon Sep 17 00:00:00 2001 From: redjie Date: Thu, 24 Nov 2022 17:42:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=B8=83=E5=BC=8F=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E4=B8=8B=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: redjie Change-Id: I2baf6d06f9e7b9be2a808e2438b3465dfa4bbd5c --- 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 4490bf2..e68766f 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 "1/2" in args.test_num or "2/2" in args.test_num: + if "distributed on" 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