[llvm-commits] [zorg] r141420 - /zorg/trunk/lnt/lnt/tests/nt.py
Daniel Dunbar
daniel at zuster.org
Fri Oct 7 15:10:01 PDT 2011
Author: ddunbar
Date: Fri Oct 7 17:10:00 2011
New Revision: 141420
URL: http://llvm.org/viewvc/llvm-project?rev=141420&view=rev
Log:
LNT/nt: Follow links during the test module discovery, see comment.
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=141420&r1=141419&r2=141420&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Fri Oct 7 17:10:00 2011
@@ -43,7 +43,12 @@
else:
return
- for dirpath,dirnames,filenames in os.walk(test_modules_path):
+ # We follow links here because we want to support the ability for having
+ # various "suites" of LNTBased tests in separate repositories, and allowing
+ # users to just checkout them out elsewhere and link them into their LLVM
+ # test-suite source tree.
+ for dirpath,dirnames,filenames in os.walk(test_modules_path,
+ followlinks = True):
# Ignore the example tests, unless requested.
if not opts.include_test_examples and 'Examples' in dirnames:
dirnames.remove('Examples')
More information about the llvm-commits
mailing list