[PATCH] D43314: [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 14:06:33 PST 2018

rengolin added inline comments.

Comment at: utils/lit/tests/test-output-micro.py:1
+# RUN: %{lit} -j 1 -v %{inputs}/test-data-micro --output %t.results.out > %t.out
+# RUN: FileCheck < %t.results.out %s
homerdin wrote:
> rengolin wrote:
> > rengolin wrote:
> > > Same thing here, join the lines with a pipe.
> > Forgot the pipe here. :)
> This test is checking the output file that `lit` writes, is there a way to pipe the output file to `FileCheck`?
Yup. Try `--output -` for stdout, or just omit `--output` and see if it goes automatically to stdout.


More information about the llvm-commits mailing list