From 5386506f863cc951f618f622d61adf93596eb6a0 Mon Sep 17 00:00:00 2001 From: yanxk Date: Sun, 23 Oct 2022 14:31:34 +0800 Subject: agl-test-framework: fix bug caused by prefix prefix should be set to 'LTP/', otherwise the get_workdir() method in class AGLBaseTest would not work. Bug-AGL: SPEC-4345 Signed-off-by: yanxk Change-Id: I8a9eeaa78acde2fc6a8f085c0bcdef3b5b800b45 --- tests/LTP/agl_test_ltp_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/LTP') diff --git a/tests/LTP/agl_test_ltp_base.py b/tests/LTP/agl_test_ltp_base.py index 9c8f5bc..f8bd708 100644 --- a/tests/LTP/agl_test_ltp_base.py +++ b/tests/LTP/agl_test_ltp_base.py @@ -11,12 +11,12 @@ class LTPBase(AGLBaseTest): RUNLTP = LTPDIR + "runltp" LTPTEST = LTPDIR + "runtest/" - #Test name without the prefix of "ltp/" + #Test name without the prefix of "LTP/" test_name: str def __init__(self, test_name: str): self.test_name = test_name - super().__init__(name = ("ltp/" + test_name)) + super().__init__(name = ("LTP/" + test_name)) #Check and clean exit log tmp_log_dir = self.get_log_path() -- cgit 1.2.3-korg