Commit 217cced9 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Enable Andoid testing on more JS test suites

Bug: chromium:866862
Change-Id: Ib6c89d88344c2348de155fd54eafa03cf18ea88d
Reviewed-on: https://chromium-review.googlesource.com/1206631Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55674}
parent c4bffcd5
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
'os': 'Android', 'os': 'Android',
}, },
'tests': [ 'tests': [
{'name': 'mjsunit', 'variant': 'default', 'shards': 2}, {'name': 'd8testing', 'variant': 'default', 'shards': 2},
], ],
}, },
############################################################################## ##############################################################################
......
...@@ -332,6 +332,8 @@ class D8TestCase(TestCase): ...@@ -332,6 +332,8 @@ class D8TestCase(TestCase):
def _get_resources(self): def _get_resources(self):
"""Returns the list of files needed by a test case.""" """Returns the list of files needed by a test case."""
if not self._get_source_path():
return []
result = set() result = set()
to_check = [self._get_source_path()] to_check = [self._get_source_path()]
# Recurse over all files until reaching a fixpoint. # Recurse over all files until reaching a fixpoint.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment