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

Side by Side Diff: scripts/slave/unittests/test_env.py

Issue 10035003: Split up Each Swarm Test into Two Steps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Adding tests to presubmit Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Script to setup the environment to run unit tests.
6
7 Modifies PYTHONPATH to automatically include parent, common and pylibs
8 directories.
9 """
10
11 import os
12 import sys
13
14 RUNTESTS_DIR = os.path.dirname(os.path.abspath(__file__))
15 BASE_DIR = os.path.abspath(os.path.join(RUNTESTS_DIR, '..', '..'))
16 DEPOT_TOOLS = os.path.join(BASE_DIR, '..', 'depot_tools')
17 sys.path.insert(0, RUNTESTS_DIR)
18 sys.path.insert(0, os.path.join(RUNTESTS_DIR, '..'))
19 sys.path.insert(0, BASE_DIR)
20 sys.path.insert(0, DEPOT_TOOLS)
OLDNEW
« scripts/slave/run_slavelastic.py ('K') | « scripts/slave/unittests/slave_utils_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698