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

Unified Diff: scripts/common/unittests/annotator_test.py

Issue 17635005: Make blink_trybot recipe work on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix presubmit + move polyfill (retry) Created 7 years, 6 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
Index: scripts/common/unittests/annotator_test.py
diff --git a/scripts/common/unittests/annotator_test.py b/scripts/common/unittests/annotator_test.py
index a4be61da047a220bbc887a6702fe00758414e08d..7fa61cde4888245feb31fb67783e28aa0bdbb075 100755
--- a/scripts/common/unittests/annotator_test.py
+++ b/scripts/common/unittests/annotator_test.py
@@ -284,11 +284,11 @@ class TestExecution(unittest.TestCase):
'@@@STEP_CURSOR one@@@',
'',
'@@@STEP_STARTED@@@',
- "/usr/bin/python -c print 'hello!'",
+ sys.executable + " -c print 'hello!'",
' allow_subannotations: False',
' always_run: False',
' build_failure: False',
- ' cmd: [\'/usr/bin/python\', \'-c\', "print \'hello!\'"]',
+ ' cmd: [' + repr(sys.executable) + ', \'-c\', "print \'hello!\'"]',
' cwd: None',
' env: None',
' followup_fn: None',
@@ -305,11 +305,11 @@ class TestExecution(unittest.TestCase):
'@@@STEP_CURSOR two@@@',
'',
'@@@STEP_STARTED@@@',
- "/usr/bin/python -c print 'yo!'",
+ sys.executable + " -c print 'yo!'",
' allow_subannotations: False',
' always_run: False',
' build_failure: False',
- ' cmd: [\'/usr/bin/python\', \'-c\', "print \'yo!\'"]',
+ ' cmd: [' + repr(sys.executable) + ', \'-c\', "print \'yo!\'"]',
' cwd: None',
' env: None',
' followup_fn: None',

Powered by Google App Engine
This is Rietveld 408576698