[wasm-api-tests] initialize the loop variable
This CL fixes the UnboundLocalError in wasm-api-tests testsuite TBR=machenbach@chromium.org Bug: chromium:1091200 Change-Id: I3830153b5bd04c3bbe8bedaa8ed79f79c5139a5d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2238574 Reviewed-by: Tamer Tas <tmrts@chromium.org> Auto-Submit: Tamer Tas <tmrts@chromium.org> Commit-Queue: Tamer Tas <tmrts@chromium.org> Cr-Commit-Position: refs/heads/master@{#68295}
This commit is contained in:
parent
fe201c34db
commit
81e7c574d3
@ -48,6 +48,7 @@ class TestLoader(testsuite.TestLoader):
|
||||
# TODO create an ExecutableTestLoader for refactoring this similar to
|
||||
# JSTestLoader.
|
||||
test_names = []
|
||||
test_case = ''
|
||||
for line in output.stdout.splitlines():
|
||||
test_desc = line.strip().split()[0]
|
||||
if test_desc.endswith('.'):
|
||||
|
Loading…
Reference in New Issue
Block a user