[llvm-dev] can llvm-lit pass output of one RUN command as an argument to another RUN command
don hinton via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 2 16:06:28 PDT 2017
Is there a way to do this with llvm-lit, i.e., use the equivalent of
backticks?
foo takes a single argument, but doesn't read from stdin.
// RUN foo some_arg > %t; FileCheck %s < %t
// RUN foo `cat %t` | FileCheck --check-prefix=INVERSE
// CHECK: {{^[0-9]+$}}
// INVERSE: some_arg
thanks...
don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170802/7f5f8ee2/attachment.html>
More information about the llvm-dev
mailing list