llvm/utils/lit
Brian Gesiak cb351a4ca1 [lit] Fix undefined symbol ArgumentError
Summary:
`ArgumentError` is not defined by the Python standard library.
Executing this line of code would throw a exception, but not the
intended one. It would throw a `NameError` exception, since `ArgumentError`
is undefined.

Use `ValueError` instead, which is defined by the Python standard
library.

Reviewers: echristo, delcypher, beanz, ddunbar

Subscribers: llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D25410

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283708 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-10 01:19:27 +00:00
..
examples [lit] Move ManyTests examples to lit/examples/many-tests. 2013-08-09 21:39:28 +00:00
lit [lit] Fix undefined symbol ArgumentError 2016-10-10 01:19:27 +00:00
tests [lit] Use argparse instead of optparse 2016-10-03 22:12:42 +00:00
utils Fix some bashims. More information on https://wiki.ubuntu.com/DashAsBinSh. Reported initially on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772302 & https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772301 2015-02-01 14:55:43 +00:00
lit.py
MANIFEST.in [lit] Add a README.txt. 2014-03-10 21:58:12 +00:00
README.txt [lit] Add instructions to run lit's test suite 2016-09-27 18:58:50 +00:00
setup.py [lit] Support use of setup.py from other directories. 2013-08-13 19:08:48 +00:00
TODO [lit] Implement support of per test timeout in lit. 2015-12-27 14:03:49 +00:00

===============================
 lit - A Software Testing Tool
===============================

lit is a portable tool for executing LLVM and Clang style test suites,
summarizing their results, and providing indication of failures. lit is designed
to be a lightweight testing tool with as simple a user interface as possible.

=====================
 Contributing to lit
=====================

Please read the TODO file in this directory for ideas on what to work on.
Before submitting patches, run the test suite to ensure nothing has regressed:

    # From within your LLVM source directory.
    utils/lit/lit.py \
        --path /path/to/your/llvm/build/bin \
        utils/lit/tests

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.