aboutsummaryrefslogtreecommitdiff
path: root/buildbot_test_toolchains.py
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2015-11-04 14:03:14 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-05 05:46:17 +0000
commit80eab98c8820e503118ba0962cf9f0f74a51e28d (patch)
treea874ca238bc25947a1b6a256e2363faf6a732b3b /buildbot_test_toolchains.py
parent1af9294993f129f2286c961a19a04babddd2572d (diff)
downloadtoolchain-utils-80eab98c8820e503118ba0962cf9f0f74a51e28d.tar.gz
Make 'label' names more meaningful in nightly tests.
The nightly crosperf tests currently use the label 'test_image' for the images that we build or that the trybot built. This is not a very informative name. This CL tries to make the names a least a little bit more useful. BUG=None TEST=Tested by hand in role account directory tree. Change-Id: Ib88f711ec96ec5cb71efebae79a76e6e8ebc784a Reviewed-on: https://chrome-internal-review.googlesource.com/237796 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'buildbot_test_toolchains.py')
-rwxr-xr-xbuildbot_test_toolchains.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py
index 35e6a40a..a255c2eb 100755
--- a/buildbot_test_toolchains.py
+++ b/buildbot_test_toolchains.py
@@ -134,13 +134,18 @@ class ToolchainComparator():
""" % (self._chromeos_root, vanilla_image)
print >> f, official_image
+ label_string = "%s_trybot_image" % compiler_string
+ if USE_NEXT_GCC_PATCH in self._patches:
+ label_string = "gcc_next_trybot_image"
+
experiment_image = """
- test_image {
+ %s {
chromeos_root: %s
build: %s
compiler: %s
}
- """ % (self._chromeos_root, trybot_image, compiler_string)
+ """ % (label_string, self._chromeos_root, trybot_image,
+ compiler_string)
print >> f, experiment_image
crosperf = os.path.join(TOOLCHAIN_DIR,