summaryrefslogtreecommitdiffstats
path: root/tests/attr
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2023-04-17 10:01:07 +0800
committerQiu Tingting <qiutt@fujitsu.com>2023-04-21 00:39:23 +0000
commit8f83b67b8ac0a60ff4e3a5a5888474b3033f9b3a (patch)
tree1081c6f54ce67a1932290ec75968723e72aa8b86 /tests/attr
parent9b9fd4724424c9758cdb5f66b66ae61da177a8a6 (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/attr')
-rw-r--r--tests/attr/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/attr/run_tests.py b/tests/attr/run_tests.py
index 148f4a6..d78a38f 100644
--- a/tests/attr/run_tests.py
+++ b/tests/attr/run_tests.py
@@ -14,12 +14,12 @@ def rm_logs(log_path: pathlib.Path):
class AttrBase(PTESTBase):
def __init__(self):
super().__init__(test_name="attr")
- # rm *.log *.trs from /usr/lib/attr/ptest/test/
+ # rm *.log *.trs from /usr/lib/attr/ptest/test/
rm_logs(pathlib.Path("/usr/lib/attr/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 = AttrBase()
instance.run_ptest()