Skip to content

Commit 40e87d0

Browse files
committed
Fixed minor pylint warnings and comments
1 parent 7f9f4b5 commit 40e87d0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

workspace_tools/singletest.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,14 @@ def run_host_test(self, name, target_name, disk, port,
159159
# Parse test 'output' data
160160
result = "UNDEF"
161161
for line in output.splitlines():
162-
if '{success}' in line: result = "OK"
163-
if '{failure}' in line: result = "FAIL"
164-
if '{error}' in line: result = "ERROR"
165-
if '{end}' in line: break
162+
if '{success}' in line:
163+
result = "OK"
164+
if '{failure}' in line:
165+
result = "FAIL"
166+
if '{error}' in line:
167+
result = "ERROR"
168+
if '{end}' in line:
169+
break
166170
return result
167171

168172
def print_test_result(self, test_result, target_name, toolchain_name,

0 commit comments

Comments
 (0)