Skip to content

Commit

Permalink
ignore empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 29, 2021
1 parent 32a910e commit 275dce4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def AllTests(chip_tool: str):
result = subprocess.run([chip_tool, 'tests', 'list'], capture_output=True)

for name in result.stdout.decode('utf8').split('\n'):
if not name:
continue

if name.startswith('TV_'):
target = TestTarget.TV
else:
Expand Down

0 comments on commit 275dce4

Please sign in to comment.