blob: f21963b5c9b38abaa301a7e2d6f370f9042a6e6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/env python
# Copyright (c) 2013 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/test-webkitpy"""
import os
import subprocess
import sys
def main():
cmd = [sys.executable]
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, 'test-webkitpy')
cmd.append(script)
cmd.extend(sys.argv[1:])
# TODO(jochen): enable the tests once they reliably pass.
#return subprocess.call(cmd)
return 0
if __name__ == '__main__':
sys.exit(main())
|