llvm-project/llvm/utils/lit/tests
Brian Homerding d5c558ff21 [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks.
Summary:
These changes are to allow to a Result object to have nested Result objects in
order to support microbenchmarks. Currently lit is restricted to reporting one
result object for one test, this change provides support tests that want to
report individual timings for individual kernels.

This revision is the result of the discussions in
https://reviews.llvm.org/D32272#794759,
https://reviews.llvm.org/D37421#f8003b27 and https://reviews.llvm.org/D38496.
It is a separation of the changes purposed in https://reviews.llvm.org/D40077.

This change will enable adding LCALS (Livermore Compiler Analysis Loop Suite)
collection of loop kernels to the llvm test suite using the google benchmark
library (https://reviews.llvm.org/D43319) with tracking of individual kernel
timings.

Previously microbenchmarks had been handled by using macros to section groups
of microbenchmarks together and build many executables while still getting a
grouped timing (MultiSource/TSVC). Recently the google benchmark library was
added to the test suite and utilized with a litsupport plugin. However the
limitation of 1 test 1 result limited its use to passing a runtime option to
run only 1 microbenchmark with several hand written tests
(MicroBenchmarks/XRay). This runs the same executable many times with different
hand-written tests. I will update the litsupport plugin to utilize the new
functionality (https://reviews.llvm.org/D43316).

These changes allow lit to report micro test results if desired in order to get
many precise timing results from 1 run of 1 test executable.


Reviewers: MatzeB, hfinkel, rengolin, delcypher

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

llvm-svn: 327422
2018-03-13 16:37:59 +00:00
..
Inputs [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
unit [lit] Fix the lit unit tests. 2017-09-16 15:48:30 +00:00
.coveragerc
boolean-parsing.py
discovery.py [lit] Actually do normalize the case of files in the config map. 2017-09-21 21:27:11 +00:00
googletest-format.py [lit] Dump some FileCheck inputs to try to debug some failing tests 2017-07-28 16:24:18 +00:00
googletest-timeout.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
googletest-upstream-format.py [lit] Port googletest lit tests to Windows 2017-07-28 01:05:55 +00:00
lit.cfg Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
lit.site.cfg.in Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
max-failures.py [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
progress-bar.py
selecting.py [lit] Un-XFAIL selecting.py test on Windows 2017-07-26 21:48:41 +00:00
shell-parsing.py
shtest-encoding.py
shtest-format.py Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
shtest-output-printing.py [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ 2017-07-26 22:11:30 +00:00
shtest-shell.py [lit] Implement "-r" option for builtin "diff" command + a test using that. 2018-01-09 18:23:34 +00:00
shtest-timeout.py
test-data-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-data.py
test-output-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-output.py
unittest-adaptor.py Un-XFAIL some internal lit tests on Windows, they pass for me locally 2017-07-26 18:04:18 +00:00
usage.py
xunit-output.py Losen time contraint to accommodate system loads 2018-02-28 20:05:24 +00:00