[llvm-commits] [zorg] r106610 - /zorg/trunk/lnt/lnt/tests/nt.py

Daniel Dunbar daniel at zuster.org
Tue Jun 22 17:19:11 PDT 2010


Author: ddunbar
Date: Tue Jun 22 19:19:11 2010
New Revision: 106610

URL: http://llvm.org/viewvc/llvm-project?rev=106610&view=rev
Log:
LNT/nt: Don't accept '0' as a valid source tag for llvm-gcc, that is the default
when no build number was set.

Modified:
    zorg/trunk/lnt/lnt/tests/nt.py

Modified: zorg/trunk/lnt/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/tests/nt.py?rev=106610&r1=106609&r2=106610&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Tue Jun 22 19:19:11 2010
@@ -392,8 +392,11 @@
         if run_info.get('cc_src_version','').isdigit():
             run_info['run_order'] = run_info['cc_src_revision']
 
-        # Otherwise, if this is a production compiler, look for a source tag.
+        # Otherwise, if this is a production compiler, look for a source tag. We
+        # don't accept 0 as a valid source tag, since that is what llvm-gcc
+        # defaults to when no build number is given.
         elif (run_info.get('cc_build') == 'PROD' and
+              run_info.get('cc_src_tag') != '0' and
               run_info.get('cc_src_tag','').isdigit()):
             run_info['run_order'] = run_info['cc_src_tag']
 





More information about the llvm-commits mailing list