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

Unified Diff: lib/constants.py

Issue 6675015: Modify au_test_harness and ctest to work from new location. (Closed) Base URL: http://git.chromium.org/git/crostestutils.git@master
Patch Set: Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ctest/ctest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/constants.py
diff --git a/lib/constants.py b/lib/constants.py
new file mode 100644
index 0000000000000000000000000000000000000000..7111b0e96419582bfdbeb6a4462bca055731cd49
--- /dev/null
+++ b/lib/constants.py
@@ -0,0 +1,12 @@
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+
+_TEST_LIB_PATH = os.path.realpath(__file__)
+
+SOURCE_ROOT = os.path.join(
+ os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..')
+
+CROSUTILS_LIB_DIR = os.path.join(SOURCE_ROOT, 'src/scripts/lib')
« no previous file with comments | « ctest/ctest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698