[llvm-commits] [zorg] r127817 - /zorg/trunk/zorg/buildbot/commands/StandardizedTest.py

Daniel Dunbar daniel at zuster.org
Thu Mar 17 10:33:38 PDT 2011


Author: ddunbar
Date: Thu Mar 17 12:33:38 2011
New Revision: 127817

URL: http://llvm.org/viewvc/llvm-project?rev=127817&view=rev
Log:
buildbot: Workaround buildbot 0.8+ bug where slashes in log names aren't
properly quoted.

Modified:
    zorg/trunk/zorg/buildbot/commands/StandardizedTest.py

Modified: zorg/trunk/zorg/buildbot/commands/StandardizedTest.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/StandardizedTest.py?rev=127817&r1=127816&r2=127817&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/StandardizedTest.py (original)
+++ zorg/trunk/zorg/buildbot/commands/StandardizedTest.py Thu Mar 17 12:33:38 2011
@@ -1,4 +1,5 @@
 import re
+import urllib
 import buildbot
 import buildbot.status.builder
 import buildbot.steps.shell
@@ -59,6 +60,8 @@
             # Add logs for failures.
             if result in self.failingCodes and len(logs) < self.maxLogs:
                 if log is not None and log.strip():
+                    # Buildbot 0.8 doesn't properly quote slashes, replace them.
+                    test = test.replace("/", "___")
                     logs.append((test, log))
 
         # Explicitly remove any ignored warnings for tests which are





More information about the llvm-commits mailing list