[PATCH] D113076: [flang] Add a semantics test for co_sum

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 06:22:27 PDT 2021


kiranchandramohan added a comment.

In D113076#3107363 <https://reviews.llvm.org/D113076#3107363>, @ktras wrote:

> I have locally implemented `co_sum` and was able to get this test to pass if these two error messages are changed, and if the python program is added, as suggested by @kiranchandramohan. Is there a way to make this test expectedly fail to get it into the repository? And then I can submit a patch with my implementation of `co_sum` in `flang/lib/Evaluate/intrinsics.cpp`?

You can use XFAIL to mark the test as expected to fail. 
See https://github.com/llvm/llvm-project/blob/main/flang/test/Semantics/omp-sections03.f90 for an example.
https://llvm.org/docs/TestingGuide.html#constraining-test-execution


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113076



More information about the llvm-commits mailing list