Skip to content

Commit

Permalink
Resolve TODO in build/test.py
Browse files Browse the repository at this point in the history
There was a TODO left in build/test.py to resolve function names
that are used across files.

Change-Id: I34b4d5338082733b7424f446cef51f5a0293fd4f
  • Loading branch information
vaage committed Jul 26, 2017
1 parent 203f729 commit 4496f53
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,16 +380,14 @@ def RunCommand(self, karma_conf):
return 0 if all(result == 0 for result in results) else 1


def main(args):
def Run(args):
launcher = Launcher('Shaka Player Test Runner Script', _GetDefaultBrowsers())
launcher.ParseArguments(args)
return launcher.RunCommand(None)


# TODO(vaage) : Remove this method once all other tools have been updated to not
# require it.
def run_tests(args):
main(args)
def main(args):
Run(args)


if __name__ == '__main__':
Expand Down

0 comments on commit 4496f53

Please sign in to comment.