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 [lit] Set parallel mode for coverage tests. 2013-01-31 01:23:18 +00:00
discovery.py [LIT] Fix discovery.py test once again 2015-07-21 04:25:13 +00:00
googletest-format.py [lit] Add test coverage of gtest format. 2013-08-14 22:21:11 +00:00
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 lit: Add a trivial test of the basic progress bar. 2013-04-11 00:05:37 +00:00
shell-parsing.py [lit] Fix tests to execute lit with same python as invoked with. 2013-08-14 05:07:09 +00:00
shtest-encoding.py [lit] Support parsing scripts with inconsistent or invalid encodings. 2013-08-14 18:22:41 +00:00
shtest-format.py [lit] Fix internal shell's argv[0] handling. 2013-08-29 02:52:10 +00:00
shtest-shell.py [lit] Add a test for internal shell execution behaviors. 2013-01-31 22:15:20 +00:00
shtest-timeout.py [lit] Implement support of per test timeout in lit. 2015-12-27 14:03:49 +00:00
test-data.py [lit] Add support for attach arbitrary metrics to test results. 2013-09-11 17:45:11 +00:00
test-output.py Require python 2.7. 2014-12-12 15:29:31 +00:00
unittest-adaptor.py [LIT] Fix failing LIT tests 2015-06-13 06:55:44 +00:00
usage.py
xunit-output.py [LIT] Fix failing LIT tests 2015-06-13 06:55:44 +00:00