[llvm-commits] [zorg] r151825 - /zorg/trunk/lnt/lnt/testing/util/compilers.py
Daniel Dunbar
daniel at zuster.org
Thu Mar 1 11:18:33 PST 2012
Author: ddunbar
Date: Thu Mar 1 13:18:33 2012
New Revision: 151825
URL: http://llvm.org/viewvc/llvm-project?rev=151825&view=rev
Log:
[lnt] lnt.testing.util.compilers: Don't include the space in the
cc_src_revision.
Modified:
zorg/trunk/lnt/lnt/testing/util/compilers.py
Modified: zorg/trunk/lnt/lnt/testing/util/compilers.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/testing/util/compilers.py?rev=151825&r1=151824&r2=151825&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/testing/util/compilers.py (original)
+++ zorg/trunk/lnt/lnt/testing/util/compilers.py Thu Mar 1 13:18:33 2012
@@ -84,9 +84,9 @@
else:
cc_norm_name = 'clang'
- m = re.match(r'\(([^ ]*)( [0-9]+)?\)', cc_build_string)
+ m = re.match(r'\(([^ ]*)( ([0-9]+))?\)', cc_build_string)
if m:
- cc_src_branch,cc_src_revision = m.groups()
+ cc_src_branch,_,cc_src_revision = m.groups()
# These show up with git-svn.
if cc_src_branch == '$URL$':
More information about the llvm-commits
mailing list