diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2023-04-17 10:01:07 +0800 |
---|---|---|
committer | Qiu Tingting <qiutt@fujitsu.com> | 2023-04-21 00:39:23 +0000 |
commit | 8f83b67b8ac0a60ff4e3a5a5888474b3033f9b3a (patch) | |
tree | 1081c6f54ce67a1932290ec75968723e72aa8b86 /tests/zlib/run_tests.py | |
parent | 9b9fd4724424c9758cdb5f66b66ae61da177a8a6 (diff) |
agl-test-framework: Optimize common function log_process
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
Diffstat (limited to 'tests/zlib/run_tests.py')
-rw-r--r-- | tests/zlib/run_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zlib/run_tests.py b/tests/zlib/run_tests.py index 47c984e..4bf6d67 100644 --- a/tests/zlib/run_tests.py +++ b/tests/zlib/run_tests.py @@ -1,5 +1,5 @@ import pytest -import tests.zlib.parser as parser +import plugins.agl_test_log as log from plugins.agl_test_ptest_base import PTESTBase class ZLIBBase(PTESTBase): @@ -8,7 +8,7 @@ class ZLIBBase(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 = ZLIBBase() instance.run_ptest() |