aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit18d49877530c04dd63578e6d9d0a1d3b6955502b (patch)
tree9adf671ef89f86262139d5e978912f065dc9cc6e /docs/TestingGuide.html
parent0895db0abfd194722706ee561b78c8f71a2b9ee8 (diff)
downloadexternal_llvm-18d49877530c04dd63578e6d9d0a1d3b6955502b.zip
external_llvm-18d49877530c04dd63578e6d9d0a1d3b6955502b.tar.gz
external_llvm-18d49877530c04dd63578e6d9d0a1d3b6955502b.tar.bz2
Reapply 122341 to fix PR8199 now that clang changes are in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TestingGuide.html')
-rw-r--r--docs/TestingGuide.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html
index 1150ac8..4d14fe4 100644
--- a/docs/TestingGuide.html
+++ b/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