Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1256)

Side by Side Diff: webrtc/build/android/test_runner.py

Issue 2600193002: Remove WebRTC-specific test runner script for Android (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 #
4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree.
9
10 """
11 Runs tests on Android devices.
12
13 This script exists to avoid WebRTC being broken by changes in the Chrome Android
14 test execution toolchain. It also conveniently sets the CHECKOUT_SOURCE_ROOT
15 environment variable.
16 """
17
18 import os
19 import sys
20
21 SCRIPT_DIR = os.path.dirname(__file__)
22 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir, os.pardir,
23 os.pardir))
24 CHROMIUM_BUILD_ANDROID_DIR = os.path.join(SRC_DIR, 'build', 'android')
25 sys.path.insert(0, CHROMIUM_BUILD_ANDROID_DIR)
26
27
28 import test_runner # pylint: disable=W0406
29
30 def main():
31 # Override environment variable to make it possible for the scripts to find
32 # the root directory (our symlinking of the Chromium build toolchain would
33 # otherwise make them fail to do so).
34 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR
35 return test_runner.main()
36
37 if __name__ == '__main__':
38 sys.exit(main())
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698