[zorg] r324116 - [buildbot] Split long descriptions into words for better formatting.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 10:38:04 PST 2018


Author: tra
Date: Fri Feb  2 10:38:04 2018
New Revision: 324116

URL: http://llvm.org/viewvc/llvm-project?rev=324116&view=rev
Log:
[buildbot] Split long descriptions into words for better formatting.

Addresses Galina's comment in D42814.

Differential Revision: https://reviews.llvm.org/D42821

Modified:
    zorg/trunk/zorg/buildbot/builders/CUDATestsuiteBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/CUDATestsuiteBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/CUDATestsuiteBuilder.py?rev=324116&r1=324115&r2=324116&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/CUDATestsuiteBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/CUDATestsuiteBuilder.py Fri Feb  2 10:38:04 2018
@@ -7,11 +7,11 @@ except:
   from buildbot.plugins import steps
   RemoveDirectory = steps.RemoveDirectory
 
+from string import split
 from zorg.buildbot.builders import ClangBuilder
 from zorg.buildbot.commands.CmakeCommand import CmakeCommand
 from zorg.buildbot.commands.NinjaCommand import NinjaCommand
 
-
 def getCUDATestsuiteBuildFactory(
         externals,  # Directory with CUDA, thrust and gcc versions for testing.
         always_clean=True,
@@ -137,8 +137,8 @@ def getCUDATestsuiteBuildFactory(
         targets=["cuda-tests-simple"],
         jobs=jobs,
         haltOnFailure=True,
-        description=["building simple CUDA tests"],
-        descriptionDone=["simple CUDA tests built."],
+        description=split("building simple CUDA tests"),
+        descriptionDone=split("simple CUDA tests built."),
         workdir=ts_build_dir,
         env=merged_env))
 
@@ -154,8 +154,8 @@ def getCUDATestsuiteBuildFactory(
                 targets=["check-cuda-simple"],
                 jobs=1, # lit will parallelize the jobs
                 haltOnFailure=True,
-                description=["Running simple CUDA tests on GPU %s" % gpu_id],
-                descriptionDone=["simple CUDA tests on GPU %s done." % gpu_id],
+                description=split("Running simple CUDA tests on GPU %s" % gpu_id),
+                descriptionDone=split("simple CUDA tests on GPU %s done." % gpu_id),
                 workdir=ts_build_dir,
                 env=gpu_env))
     else:
@@ -164,8 +164,8 @@ def getCUDATestsuiteBuildFactory(
             targets=["check-cuda-simple"],
             jobs=1, # lit will parallelize the jobs
             haltOnFailure=True,
-            description=["Running simple CUDA tests"],
-            descriptionDone=["simple CUDA tests done."],
+            description=split("Running simple CUDA tests"),
+            descriptionDone=split("simple CUDA tests done."),
             workdir=ts_build_dir,
             env=merged_env))
 
@@ -177,8 +177,8 @@ def getCUDATestsuiteBuildFactory(
             targets=["cuda-tests-thrust"],
             jobs=jobs,
             haltOnFailure=True,
-            description=["building thrust tests"],
-            descriptionDone=["thrust tests built."],
+            description=split("building thrust tests"),
+            descriptionDone=split("thrust tests built."),
             workdir=ts_build_dir,
             env=merged_env))
         # Run them. That also takes a while.
@@ -190,8 +190,8 @@ def getCUDATestsuiteBuildFactory(
                 targets=["check"],
                 jobs=1, # lit will parallelize the jobs.
                 haltOnFailure=True,
-                description=["running all CUDA tests."],
-                descriptionDone=["all cuda tests done."],
+                description=split("running all CUDA tests."),
+                descriptionDone=split("all cuda tests done."),
                 workdir=ts_build_dir,
                 env=merged_env))
 




More information about the llvm-commits mailing list