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

Unified Diff: tools/bots/editor.py

Issue 23224015: editor build change to suppress a 'restore windows' dialog on the mac buildbots (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « editor/build/build.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/editor.py
===================================================================
--- tools/bots/editor.py (revision 26612)
+++ tools/bots/editor.py (working copy)
@@ -122,6 +122,11 @@
'-mrelease', '--arch=%s' % arch, 'editor', 'create_sdk']
RunProcess(args)
+ # before we run the editor, suppress any 'restore windows' dialogs
+ if sys.platform == 'darwin':
+ bot.RunProcess(['defaults', 'write', 'org.eclipse.eclipse.savedState',
+ 'NSQuitAlwaysKeepsWindows', '-bool', 'false'])
+
for arch in test_architectures:
editor_executable = GetEditorExecutable('Release', arch)
with bot.BuildStep('Test Editor %s' % arch):
« no previous file with comments | « editor/build/build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698