Allow WPT to be run with local gstreamer

This commit is contained in:
Manish Goregaokar 2018-09-03 13:54:20 +05:30
parent eba68a1a49
commit 36797801e9
2 changed files with 25 additions and 11 deletions

View file

@ -383,6 +383,7 @@ class MachCommands(CommandBase):
return self._test_wpt(**kwargs)
def _test_wpt(self, **kwargs):
self.set_run_env()
hosts_file_path = path.join(self.context.topdir, 'tests', 'wpt', 'hosts')
os.environ["hosts_file_path"] = hosts_file_path
run_file = path.abspath(path.join(self.context.topdir, "tests", "wpt", "run.py"))