[Openmp-commits] [PATCH] D74956: OpenMP 5.1 omp_display_env function implementation.

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 2 12:03:48 PST 2020


hbae added a comment.

In D74956#1901473 <https://reviews.llvm.org/D74956#1901473>, @AndreyChurbanov wrote:

> In D74956#1887883 <https://reviews.llvm.org/D74956#1887883>, @jdoerfert wrote:
>
> > We can have filechek tests, right? We should verify a bit more than the existence of a function that will return.
>
>
> I am not sure how to pipe error output (stderr) to filecheck.  I saw some examples of the "2>&1 |", this works in bash, but does not work in c shell. Maybe "|2" can be used?
>
> Could somebody please advise how to better pipe stderr to filecheck? Is the "2>&1 |" appropriate?  I personally work in bash usually, but some systems may have other shell by default.


Can we do it in two steps?

1. Redirect 2 to file A
2. Then, feed A to FileCheck


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74956/new/

https://reviews.llvm.org/D74956





More information about the Openmp-commits mailing list