[llvm-commits] [zorg] r108250 - /zorg/trunk/lnt/lnt/tests/nt.py
Bob Wilson
bob.wilson at apple.com
Tue Jul 13 11:12:05 PDT 2010
Author: bwilson
Date: Tue Jul 13 13:12:05 2010
New Revision: 108250
URL: http://llvm.org/viewvc/llvm-project?rev=108250&view=rev
Log:
Fix logic for checking if the compiler has a tagged version number.
Also ignore '00' since some builds of llvm-gcc report that as the build number.
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=108250&r1=108249&r2=108250&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Tue Jul 13 13:12:05 2010
@@ -428,8 +428,9 @@
# don't accept 0 or 9999 as valid source tag, since that is what
# llvm-gcc builds use when no build number is given.
elif (run_info.get('cc_build') == 'PROD' and
- (run_info.get('cc_src_tag') != '0' or
- run_info.get('cc_src_tag') != '9999') and
+ 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']
More information about the llvm-commits
mailing list