blob: 46d8ad016d9a184e971a9ba6d047c0acc7fa74f8 [file] [log] [blame]
[email protected]67fbad12010-01-21 06:40:371#!/usr/bin/env python
[email protected]4ecbeba62010-03-05 03:32:572# Copyright (c) 2010 The Chromium Authors. All rights reserved.
[email protected]67fbad12010-01-21 06:40:373# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
[email protected]4ecbeba62010-03-05 03:32:576"""Wrapper around
[email protected]d8b6af82013-04-15 20:01:327 third_party/WebKit/Tools/Scripts/run-webkit-tests"""
[email protected]67fbad12010-01-21 06:40:378import os
[email protected]4ecbeba62010-03-05 03:32:579import subprocess
[email protected]67fbad12010-01-21 06:40:3710import sys
[email protected]67fbad12010-01-21 06:40:3711
[email protected]4ecbeba62010-03-05 03:32:5712def main():
tfarinaa16e8bc2014-10-10 03:11:2913 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..'))
[email protected]89b90e152010-12-18 03:40:5414 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
[email protected]4ecbeba62010-03-05 03:32:5715 "Scripts")
[email protected]d8b6af82013-04-15 20:01:3216 script = os.path.join(script_dir, 'run-webkit-tests')
[email protected]d97b7cd2013-06-19 06:08:4217 cmd = [sys.executable, script] + sys.argv[1:]
[email protected]4ecbeba62010-03-05 03:32:5718 return subprocess.call(cmd)
[email protected]67fbad12010-01-21 06:40:3719
[email protected]9d15e382010-01-22 02:30:3520if __name__ == '__main__':
[email protected]596e07d2010-03-11 01:10:4521 sys.exit(main())