forked from OSchip/llvm-project
42881eac30
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 |
||
---|---|---|
.. | ||
Inputs | ||
.coveragerc | ||
discovery.py | ||
googletest-format.py | ||
googletest-timeout.py | ||
googletest-upstream-format.py | ||
lit.cfg | ||
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 |