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

Unified Diff: tools/isolate/isolate_test.py

Issue 9704001: Converts absolute paths in the command to relative path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix subtility in path handling with make Created 8 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 | « tools/isolate/isolate.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/isolate_test.py
diff --git a/tools/isolate/isolate_test.py b/tools/isolate/isolate_test.py
index d2fdc7ca6c59ad85d6000bcbfff7cef7f1a95c52..994059c349dd1f95739e5cd6b8aadeb3239867f5 100755
--- a/tools/isolate/isolate_test.py
+++ b/tools/isolate/isolate_test.py
@@ -132,6 +132,18 @@ class Isolate(unittest.TestCase):
pass
self._expected_tree([])
+ def test_check_abs_path(self):
+ cmd = [
+ '--mode', 'check',
+ 'isolate_test.py',
+ '--',
+ os.path.join(ROOT_DIR, 'isolate_test.py'),
+ ]
+ self._execute(cmd)
+ self._expected_tree(['result'])
+ self._expected_result(
+ False, ['isolate_test.py'], ['isolate_test.py'], False)
+
def test_hashtable(self):
cmd = [
'--mode', 'hashtable',
« no previous file with comments | « tools/isolate/isolate.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698