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/bc/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/bc/run_tests.py')
-rw-r--r-- | tests/bc/run_tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/bc/run_tests.py b/tests/bc/run_tests.py index 230727a..873a448 100644 --- a/tests/bc/run_tests.py +++ b/tests/bc/run_tests.py @@ -1,6 +1,5 @@ import pytest - -import tests.bc.parser as parser +import plugins.agl_test_log as log from plugins.agl_test_ptest_base import PTESTBase @@ -10,7 +9,7 @@ class BCBase(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 = BCBase() instance.run_ptest() |