From 8f83b67b8ac0a60ff4e3a5a5888474b3033f9b3a Mon Sep 17 00:00:00 2001 From: Qiu Tingting <qiutt@fujitsu.com> 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 <qiutt@fujitsu.com> Change-Id: I92de3b781badac9cb6d55acd5cc0c601dc4a7c65 --- tests/libxml2/run_tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/libxml2/run_tests.py') diff --git a/tests/libxml2/run_tests.py b/tests/libxml2/run_tests.py index 0043a94..c2b2a99 100644 --- a/tests/libxml2/run_tests.py +++ b/tests/libxml2/run_tests.py @@ -1,6 +1,5 @@ import pytest - -import tests.libxml2.parser as parser +import plugins.agl_test_log as log from plugins.agl_test_ptest_base import PTESTBase @@ -10,7 +9,7 @@ class LIBXML2Base(PTESTBase): def log_process(self): log_file = self.get_logfile() - self.case_info_list = parser.log_parse(log_file) + self.case_info_list = log.log_process_gnu(log_file) instance = LIBXML2Base() instance.run_ptest() -- cgit