[zorg] r186391 - LitTestCommand.py: Tighten the expression not to match unexpected line such as;

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 16 02:33:19 PDT 2013


Author: chapuni
Date: Tue Jul 16 04:33:19 2013
New Revision: 186391

URL: http://llvm.org/viewvc/llvm-project?rev=186391&view=rev
Log:
LitTestCommand.py: Tighten the expression not to match unexpected line such as;

  "llvm[4]: Linking Release+Asserts executable Sample (without symbols)"

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

Modified: zorg/trunk/zorg/buildbot/commands/LitTestCommand.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/LitTestCommand.py?rev=186391&r1=186390&r2=186391&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/LitTestCommand.py (original)
+++ zorg/trunk/zorg/buildbot/commands/LitTestCommand.py Tue Jul 16 04:33:19 2013
@@ -9,7 +9,7 @@ from buildbot.steps.shell import Test
 
 class LitLogObserver(LogLineObserver):
   # Regular expressions for a regular test line.
-  kTestLineRE = re.compile(r'([^ ]*): (.*) \(.*\)')
+  kTestLineRE = re.compile(r'(\w+): (.*) \(.*\)')
 
   # Regular expressions for verbose log start and stop markers. Verbose log
   # output always immediately follow a test.





More information about the llvm-commits mailing list