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

Unified Diff: tools/bots/cross-vm.py

Issue 23702054: Archive cross compiled arm binaries to a revision specific file name (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/cross-vm.py
===================================================================
--- tools/bots/cross-vm.py (revision 27645)
+++ tools/bots/cross-vm.py (working copy)
@@ -24,8 +24,8 @@
sys.stdout.flush()
bot.RunProcess(args)
-def tarball_name(arch, mode):
- return 'cross_build_%s_%s.tar.bz2' % (arch, mode)
+def tarball_name(arch, mode, revision):
+ return 'cross_build_%s_%s_%s.tar.bz2' % (arch, mode, revision)
def record_names(name, arch, mode):
return ('record_%s_%s_%s.json' % (name, arch, mode),
@@ -33,8 +33,8 @@
def cross_compiling_builder(arch, mode):
build_py = os.path.join('tools', 'build.py')
-
- tarball = tarball_name(arch, mode)
+ revision = int(os.environ['BUILDBOT_GOT_REVISION'])
+ tarball = tarball_name(arch, mode, revision)
temporary_files = [tarball]
bot.Clobber()
try:
@@ -76,7 +76,8 @@
'--time', '--compiler=none', '--runtime=vm', '--write-debug-log',
'--mode=' + mode, '--arch=' + arch]
- tarball = tarball_name(arch, mode)
+ revision = int(os.environ['BUILDBOT_GOT_REVISION'])
+ tarball = tarball_name(arch, mode, revision)
temporary_files = [tarball]
bot.Clobber()
try:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698