[llvm-commits] [zorg] r118420 - /zorg/trunk/lnt/lnt/tests/nt.py
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Nov 8 09:50:06 PST 2010
Author: stoklund
Date: Mon Nov 8 11:50:06 2010
New Revision: 118420
URL: http://llvm.org/viewvc/llvm-project?rev=118420&view=rev
Log:
Allow llvm_source_version to be None when the source directory is not a svn
checkout.
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=118420&r1=118419&r2=118420&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Mon Nov 8 11:50:06 2010
@@ -156,7 +156,8 @@
# Set LLVM_RELEASE_IS_PLUS_ASSERTS when appropriate, to allow testing older
# LLVM source trees.
- if llvm_source_version.isdigit() and int(llvm_source_version) < 107758:
+ if (llvm_source_version and llvm_source_version.isdigit() and
+ int(llvm_source_version) < 107758):
make_variables['LLVM_RELEASE_IS_PLUS_ASSERTS'] = 1
# Set ARCH appropriately, based on the inferred target.
More information about the llvm-commits
mailing list