summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TestingGuide.html
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-12-21 16:55:53 +0000
committerDavid Greene <greened@obbligato.org>2010-12-21 16:55:53 +0000
commita93adab324659949d6cf832fe87b56a761cc2ff6 (patch)
treed034c9bafa6b8daa6b5d2992149d8e56b8267840 /llvm/docs/TestingGuide.html
parent740857fa10e0e70b2145acb7164b9b526da89a0a (diff)
downloadbcm5719-llvm-a93adab324659949d6cf832fe87b56a761cc2ff6.tar.gz
bcm5719-llvm-a93adab324659949d6cf832fe87b56a761cc2ff6.zip
Fix PR 8199. This patch prepends the build tool dir to LLVM programs
being tested. This ensures that we test the tools just built and not some random tools that might happen to be in the user's PATH. This makes LLVM testing much more stable and predictable. llvm-svn: 122341
Diffstat (limited to 'llvm/docs/TestingGuide.html')
-rw-r--r--llvm/docs/TestingGuide.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/TestingGuide.html b/llvm/docs/TestingGuide.html
index 1150ac8f962..4d14fe4a8cf 100644
--- a/llvm/docs/TestingGuide.html
+++ b/llvm/docs/TestingGuide.html
@@ -376,6 +376,11 @@ clang/test directory. </p>
shell. Consequently the syntax differs from normal shell script syntax in a
few ways. You can specify as many RUN lines as needed.</p>
+ <p>lit performs substitution on each RUN line to replace LLVM tool
+ names with the full paths to the executable built for each tool (in
+ $(LLVM_OBJ_ROOT)/$(BuildMode)/bin). This ensures that lit does not
+ invoke any stray LLVM tools in the user's path during testing.</p>
+
<p>Each RUN line is executed on its own, distinct from other lines unless
its last character is <tt>\</tt>. This continuation character causes the RUN
line to be concatenated with the next one. In this way you can build up long
OpenPOWER on IntegriCloud