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

Unified Diff: googletest/tests/trace_test_cases_smoke_test.py

Issue 24813003: Move file path functions into utils/file_path.py. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/swarm_client@master
Patch Set: Created 7 years, 3 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 | « no previous file | isolate.py » ('j') | utils/file_path.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: googletest/tests/trace_test_cases_smoke_test.py
diff --git a/googletest/tests/trace_test_cases_smoke_test.py b/googletest/tests/trace_test_cases_smoke_test.py
index 6699210d66514c04df41fe0945caba64935b4ab5..bfb9c7fe2aa1be543c8db0fe96a0af6024b6cbc2 100755
--- a/googletest/tests/trace_test_cases_smoke_test.py
+++ b/googletest/tests/trace_test_cases_smoke_test.py
@@ -18,8 +18,8 @@ ROOT_DIR = os.path.dirname(GOOGLETEST_DIR)
sys.path.insert(0, ROOT_DIR)
sys.path.insert(0, os.path.join(BASE_DIR, 'gtest_fake'))
-import trace_inputs
import gtest_fake_base
+from utils import file_path
FILE_PATH = os.path.realpath(unicode(os.path.abspath(__file__)))
TARGET_UTIL_PATH = os.path.join(BASE_DIR, 'gtest_fake', 'gtest_fake_base.py')
@@ -46,7 +46,7 @@ class TraceTestCases(unittest.TestCase):
# So it'll look like /usr/bin/python2.7
self.executable += suffix
- self.real_executable = trace_inputs.get_native_path_case(self.executable)
+ self.real_executable = file_path.get_native_path_case(self.executable)
# Make sure there's no environment variable that could do side effects.
os.environ.pop('GTEST_SHARD_INDEX', '')
os.environ.pop('GTEST_TOTAL_SHARDS', '')
@@ -148,7 +148,7 @@ class TraceTestCases(unittest.TestCase):
u'command': [
self.executable, TARGET_PATH, '--gtest_filter=' + test_case,
],
- u'executable': trace_inputs.get_native_path_case(
+ u'executable': file_path.get_native_path_case(
unicode(self.executable)),
u'initial_cwd': GOOGLETEST_DIR,
},
« no previous file with comments | « no previous file | isolate.py » ('j') | utils/file_path.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698