1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/utils/lit/tests
Daniel Dunbar 5f81d65876 [lit][googletest] Handle upstream gtest output
Summary:
Upstream googletest prints "Running main() from gtest_main.cc" to stdout prior
to running tests. LLVM removed that print statement in r61540. If a user were
to use lit to run tests that use upstream googletest, however, lit
reports "Running main()" as an invalid test name.

To avoid such a failure, add an extra conditional to `formats/googletest.py`.
Also add tests to demonstrate the modified behavior.

Reviewers: abdulras, ddunbar

Subscribers: ddunbar, llvm-commits, kastiglione

Differential Revision: http://reviews.llvm.org/D18606

llvm-svn: 265034
2016-03-31 18:22:55 +00:00
..
Inputs [lit][googletest] Handle upstream gtest output 2016-03-31 18:22:55 +00:00
.coveragerc
discovery.py
googletest-format.py
googletest-timeout.py
googletest-upstream-format.py [lit][googletest] Handle upstream gtest output 2016-03-31 18:22:55 +00:00
lit.cfg Revert "Teach the CMake build system to run lit's test suite. These can be run" 2016-01-09 21:42:57 +00:00
progress-bar.py
shell-parsing.py
shtest-encoding.py
shtest-format.py
shtest-shell.py
shtest-timeout.py
test-data.py
test-output.py
unittest-adaptor.py
usage.py
xunit-output.py