llvm-project/llvm/utils/lit/tests
Daniel Dunbar 42881eac30 [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 [LIT] Fix discovery.py test once again 2015-07-21 04:25:13 +00:00
googletest-format.py
googletest-timeout.py [lit] Implement support of per test timeout in lit. 2015-12-27 14:03:49 +00:00
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 [lit] Implement support of per test timeout in lit. 2015-12-27 14:03:49 +00:00
test-data.py
test-output.py
unittest-adaptor.py
usage.py
xunit-output.py