Bug 1523562 [wpt PR 14965] - Sync Mozilla CSS tests as of 2019-01-20, a=testonly
[gecko.git] / config / run_spidermonkey_checks.py
blob1aed5ce913ffffe020c043d08968fd19f89c191e
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 import buildconfig
6 import subprocess
7 import sys
10 def main(output, lib_file, *scripts):
11 for script in scripts:
12 retcode = subprocess.call(
13 [sys.executable, script], cwd=buildconfig.topsrcdir)
14 if retcode != 0:
15 raise Exception(script + " failed")