[PATCH] D43314: [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks.
Brian Homerding via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 10:04:46 PST 2018
homerdin updated this revision to Diff 135279.
homerdin added a comment.
Thanks for all the feedback! I've made some changes to the tests:
- Updated `test-data-micro` test to use CHECK-DAG and piped output
- Updated `test-output-micro` test to use CHECK-DAG. I think this should work since parent result `test-data-micro :: micro-tests.ini` will always be appended to the end of the list after all micro-tests. This is testing the lit's output file so I sent the stdout to /dev/null and explicitly removed the output file to clean the test up.
https://reviews.llvm.org/D43314
Files:
utils/lit/lit/Test.py
utils/lit/lit/main.py
utils/lit/tests/Inputs/test-data-micro/dummy_format.py
utils/lit/tests/Inputs/test-data-micro/lit.cfg
utils/lit/tests/Inputs/test-data-micro/micro-tests.ini
utils/lit/tests/test-data-micro.py
utils/lit/tests/test-output-micro.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43314.135279.patch
Type: text/x-patch
Size: 9550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180221/ac338320/attachment.bin>
More information about the llvm-commits
mailing list