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

Unified Diff: scripts/bootstrap/frogsh_bootstrap_wrapper.py

Issue 8437081: Frog changes (in experimental) to get frog integrated into the test infrastructure. (Closed) Base URL: http://dart.googlecode.com/svn/experimental/frog/
Patch Set: '' Created 9 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: scripts/bootstrap/frogsh_bootstrap_wrapper.py
===================================================================
--- scripts/bootstrap/frogsh_bootstrap_wrapper.py (revision 1095)
+++ scripts/bootstrap/frogsh_bootstrap_wrapper.py (working copy)
@@ -6,7 +6,6 @@
import sys
HOME = os.path.dirname(os.path.realpath(__file__))
-# TODO(ngeoffray): does not work on Windows.
HOME = os.path.join(HOME, os.pardir, os.pardir)
sys.path.append(HOME)
@@ -18,14 +17,12 @@
if index != -1:
js_out = arg[9:len(arg)];
- exit_code = 0
- if js_out.find('Release') != -1:
- exit_code = frog.main(args)
- else:
- shutil.copy(os.path.join(HOME, 'scripts', 'bootstrap', 'frog_wrapper.py'),
- js_out)
+ # TODO(ngeoffray): Compile frogsh without checks integrated.
+ # if js_out.find('Release') != -1:
+ exit_code = frog.main(args)
if exit_code:
return exit_code
+
os.chmod(js_out, stat.S_IXUSR | stat.S_IXGRP | stat.S_IRUSR |
stat.S_IRGRP | stat.S_IWUSR)
return exit_code

Powered by Google App Engine
This is Rietveld 408576698