From 4d75d80d62f52ce440e6af7821d785ab49f30ea7 Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 21 Dec 2010 16:55:53 +0000 Subject: 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 --- docs/TestingGuide.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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.

shell. Consequently the syntax differs from normal shell script syntax in a few ways. You can specify as many RUN lines as needed.

+

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.

+

Each RUN line is executed on its own, distinct from other lines unless its last character is \. This continuation character causes the RUN line to be concatenated with the next one. In this way you can build up long -- cgit v1.1