From 8f83b67b8ac0a60ff4e3a5a5888474b3033f9b3a Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Mon, 17 Apr 2023 10:01:07 +0800 Subject: agl-test-framework: Optimize common function log_process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new commone function log_process_gnu for the following tests: acl attr bash bc bluez5 busybox cpio libpam libxml2 zlib SPEC-4758 Signed-off-by: Qiu Tingting Change-Id: I92de3b781badac9cb6d55acd5cc0c601dc4a7c65 --- tests/acl/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/acl/run_tests.py') diff --git a/tests/acl/run_tests.py b/tests/acl/run_tests.py index f4f7ef1..7768ac6 100644 --- a/tests/acl/run_tests.py +++ b/tests/acl/run_tests.py @@ -14,12 +14,12 @@ def rm_logs(log_path: pathlib.Path): class AclBase(PTESTBase): def __init__(self): super().__init__(test_name="acl") - # rm *.log *.trs from /usr/lib/acl/ptest/test/ + # rm *.log *.trs from /usr/lib/acl/ptest/test/ rm_logs(pathlib.Path("/usr/lib/acl/ptest/test/")) def log_process(self): log_file = self.get_logfile() - self.case_info_list = log.log_process_gnome_desktop_testing(log_file) + self.case_info_list = log.log_process_gnu(log_file) instance = AclBase() instance.run_ptest() -- cgit