0
Files
src/blink/tools/run_layout_tests.py
tfarina a16e8bc1de Move run_webkit_tests.* script into their new home.
As we are removing webkit/ glue, we need a new home for these scripts.

BUG=338338
TEST=None
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/629083002

Cr-Commit-Position: refs/heads/master@{#299051}
2014-10-10 03:11:45 +00:00

22 lines
683 B
Python
Executable File

#!/usr/bin/env python
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Wrapper around
third_party/WebKit/Tools/Scripts/run-webkit-tests"""
import os
import subprocess
import sys
def main():
src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..'))
script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
"Scripts")
script = os.path.join(script_dir, 'run-webkit-tests')
cmd = [sys.executable, script] + sys.argv[1:]
return subprocess.call(cmd)
if __name__ == '__main__':
sys.exit(main())