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

Unified Diff: content/test/ct/path_util.py

Issue 1410353007: Add CT isolate file and CT script that will be run on swarming slaves (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Setup executable bit for presubmit Created 5 years, 1 month 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
Index: content/test/ct/path_util.py
diff --git a/content/test/gpu/gpu_tests/path_util.py b/content/test/ct/path_util.py
similarity index 81%
copy from content/test/gpu/gpu_tests/path_util.py
copy to content/test/ct/path_util.py
index 1a4326950583dbab76404a4988d087d98cf66be9..b7b06d5f76f8693263d0a95ffdf655fa9d25c80c 100644
--- a/content/test/gpu/gpu_tests/path_util.py
+++ b/content/test/ct/path_util.py
@@ -6,16 +6,12 @@ import os
import sys
-def GetChromiumSrcDir():
- return os.path.abspath(os.path.join(
- os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir))
-
-
-def GetGpuTestDir():
- return os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
-
-
def AddDirToPathIfNeeded(*path_parts):
path = os.path.abspath(os.path.join(*path_parts))
if os.path.isdir(path) and path not in sys.path:
sys.path.append(path)
+
+
+def GetChromiumSrcDir():
+ return os.path.abspath(os.path.join(
+ os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))

Powered by Google App Engine
This is Rietveld 408576698