summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TestingGuide.html
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-01-03 17:30:25 +0000
committerDavid Greene <greened@obbligato.org>2011-01-03 17:30:25 +0000
commitdc276c315cec9e33df8e0e171b686f79143f651d (patch)
treeeb3af8c5580bf31fdc21001d9d0cbdd0cd79850e /llvm/docs/TestingGuide.html
parent7b29345ff3771e22880c6b1626c44da39ef16ebe (diff)
downloadbcm5719-llvm-dc276c315cec9e33df8e0e171b686f79143f651d.tar.gz
bcm5719-llvm-dc276c315cec9e33df8e0e171b686f79143f651d.zip
Reapply 122341 to fix PR8199 now that clang changes are in.
llvm-svn: 122754
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