[PATCH] D25459: [lit] Add more testing instructions to README

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 22:40:06 PDT 2016


modocache created this revision.
modocache added reviewers: ddunbar, echristo, delcypher, beanz, chapuni, cmatthews.
modocache added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

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.


https://reviews.llvm.org/D25459

Files:
  utils/lit/README.txt


Index: utils/lit/README.txt
===================================================================
--- utils/lit/README.txt
+++ utils/lit/README.txt
@@ -22,3 +22,18 @@
 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
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25459.74196.patch
Type: text/x-patch
Size: 742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161011/fa7af2d0/attachment.bin>


More information about the llvm-commits mailing list