diff options
author | David Greene <greened@obbligato.org> | 2010-12-21 16:55:53 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2010-12-21 16:55:53 +0000 |
commit | 4d75d80d62f52ce440e6af7821d785ab49f30ea7 (patch) | |
tree | 2430a851da27a7c30671eca02d17142b9bed8fb6 /docs/TestingGuide.html | |
parent | fbadcd0826c2e69ed21c2d535310ba958acb4359 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TestingGuide.html')
-rw-r--r-- | docs/TestingGuide.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index 1150ac8f96..4d14fe4a8c 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 |