From 46ea0617203c9de32b49b69ad9be63f089eb02e6 Mon Sep 17 00:00:00 2001 From: Brian Gesiak Date: Sat, 22 Oct 2016 17:27:31 +0000 Subject: [lit] Add more testing instructions to README Summary: r283710 introduced two regressions, one to llvm-lit, and the other to lit executables that were installed via setuptools. Add instructions on how to test for these regressions in the future. Reviewers: ddunbar, delcypher, beanz, chapuni, cmatthews, echristo Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D25459 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284919 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/lit/README.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'utils/lit/README.txt') diff --git a/utils/lit/README.txt b/utils/lit/README.txt index 3d294c81ea4..45cd8db2fbf 100644 --- a/utils/lit/README.txt +++ b/utils/lit/README.txt @@ -22,3 +22,18 @@ Note that lit's tests depend on 'not' and 'FileCheck', LLVM utilities. You will need to have built LLVM tools in order to run lit's test suite successfully. +You'll also want to confirm that lit continues to work when testing LLVM. +Follow the instructions in http://llvm.org/docs/TestingGuide.html to run the +regression test suite: + + make check-llvm + +And be sure to run the llvm-lit wrapper script as well: + + /path/to/your/llvm/build/bin/llvm-lit utils/lit/tests + +Finally, make sure lit works when installed via setuptools: + + python utils/lit/setup.py install + lit --path /path/to/your/llvm/build/bin utils/lit/tests + -- cgit v1.2.3