]> granicus.if.org Git - llvm/commit
Revert "[lit] Remove dead code not referenced in the LLVM SVN repo."
authorBrian Gesiak <modocache@gmail.com>
Wed, 26 Jul 2017 14:59:36 +0000 (14:59 +0000)
committerBrian Gesiak <modocache@gmail.com>
Wed, 26 Jul 2017 14:59:36 +0000 (14:59 +0000)
commit0f1c53205c6876815220f39315cefb1968ad0d18
treef622988519b2184d4c826c19276c0e57c5b49bab
parent2cc32b10c00219401473d52d786460dafabdccc3
Revert "[lit] Remove dead code not referenced in the LLVM SVN repo."

Summary:
This reverts rL306623, which removed `FileBasedTest`, an abstract base class,
but did not also remove the usages of that class in the lit unit tests.
The revert fixes four test failures in the lit unit test suite.

Test plan:
As per the instructions in `utils/lit/README.txt`, run the lit unit
test suite:

```
utils/lit/lit.py \
    --path /path/to/your/llvm/build/bin \
    utils/lit/tests
```

Verify that the following tests fail before applying this patch, and
pass once the patch is applied:

```
lit :: test-data.py
lit :: test-output.py
lit :: xunit-output.py
```

In addition, run `check-llvm` to make sure the existing LLVM test suite
executes normally.

Reviewers: george.karpenkov, mgorny, dlj

Reviewed By: mgorny

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309120 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/formats/__init__.py
utils/lit/lit/formats/base.py
utils/lit/lit/formats/shtest.py