aboutsummaryrefslogtreecommitdiff
path: root/buildbot_test_toolchains.py
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2015-02-18 15:00:13 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-19 02:29:00 +0000
commitfe054f1eac0d0d739b74dee6bd45805af86568a2 (patch)
tree496d601f1e12254b4fd37f8f053f297247b11936 /buildbot_test_toolchains.py
parentfdd8a5ba9cb296696e8d3c814e2ac7561f7bff4a (diff)
downloadtoolchain-utils-fe054f1eac0d0d739b74dee6bd45805af86568a2.tar.gz
Only tar chromiumos_test_image.bin file, instead of all files under images directory.
Change-Id: I27ca96a5e347de6d2e5ae280cfd37a7669056679 Reviewed-on: https://chrome-internal-review.googlesource.com/199736 Reviewed-by: Caroline Tice <cmtice@google.com> Commit-Queue: Han Shen <shenhan@google.com> Tested-by: Han Shen <shenhan@google.com>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-xbuildbot_test_toolchains.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py
index d3b23003..3254c93d 100755
--- a/buildbot_test_toolchains.py
+++ b/buildbot_test_toolchains.py
@@ -166,11 +166,12 @@ class ToolchainComparator():
else:
test_path = vanilla_image
tar_file_name = "%s_%s_image.tar" % (self._weekday, label_name)
- cmd = "cd %s; tar -cvf %s %s/*; cp %s %s/." % (images_path,
- tar_file_name,
- test_path,
- tar_file_name,
- dest_dir)
+ cmd = ("cd %s; tar -cvf %s %s/chromiumos_test_image.bin; "
+ "cp %s %s/.") % (images_path,
+ tar_file_name,
+ test_path,
+ tar_file_name,
+ dest_dir)
if dry_run:
print "CMD: %s" % cmd
tar_ret = 0
@@ -189,7 +190,9 @@ class ToolchainComparator():
crosperf, and copy images into seven-day report directories.
"""
date_str = datetime.date.today()
- description = "master_%s_%s_%s" % (USE_NEXT_GCC_PATCH, self._build, date_str)
+ description = "master_%s_%s_%s" % (USE_NEXT_GCC_PATCH,
+ self._build,
+ date_str)
trybot_image = buildbot_utils.GetTrybotImage(self._chromeos_root,
self._build,
[ USE_NEXT_GCC_PATCH ],