[PATCH] D25411: [lit] Run unit tests as part of lit test suite

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 9 14:23:22 PDT 2016


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

The Python file `utils/lit/lit/ShUtil.py` contains:

1. Logic used by lit itself
2. A set of unit tests for that logic, which can be run by invoking `python utils/lit/lit/ShUtil.py`

Move these unit tests to a `tests/unit` subdirectory of lit, and run
the tests as part of lit's test suite. This ensures that, should the
lit test suite be included in LLVM's own regression test suite, these
unit tests will also be run.

(Instructions on how to run lit's test suite can be found in
`utils/lit/README.txt`.)


https://reviews.llvm.org/D25411

Files:
  utils/lit/lit/ShUtil.py
  utils/lit/tests/unit/ShUtil.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25411.74082.patch
Type: text/x-patch
Size: 9890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161009/cc245921/attachment.bin>


More information about the llvm-commits mailing list