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

Daniel Dunbar daniel at zuster.org
Fri Sep 10 15:01:54 PDT 2010


Author: ddunbar
Date: Fri Sep 10 17:01:54 2010
New Revision: 113644

URL: http://llvm.org/viewvc/llvm-project?rev=113644&view=rev
Log:
LNT/nt: Allow capturing the run_order from llvm-gcc/clang for tags like '2207.5', by discarding the values after the point. I will rework this system one fine day.

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=113644&r1=113643&r2=113644&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Fri Sep 10 17:01:54 2010
@@ -469,8 +469,8 @@
               run_info.get('cc_src_tag') != '0' and
               run_info.get('cc_src_tag') != '00' and
               run_info.get('cc_src_tag') != '9999' and
-              run_info.get('cc_src_tag','').isdigit()):
-            run_info['run_order'] = run_info['cc_src_tag']
+              run_info.get('cc_src_tag','').split('.',1)[0].isdigit()):
+            run_info['run_order'] = run_info['cc_src_tag'].split('.',1)[0]
 
         # Otherwise, infer from the llvm revision.
         elif run_info.get('llvm_revision','').isdigit():





More information about the llvm-commits mailing list