HomePhabricator

[flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests

Authored by richard.barton.arm on Jun 26 2020, 10:50 AM.

Description

[flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests

These tests checked for stdout and stderr in the same pipe, which does not
come out in a guaranteed order. test_any.sh's FileCheck accepts CHECK lines in
any order while FileCheck checks must match in order.

Hand port these to pipe stdout to a temp file which is checked with a separate
FileCheck RUN line to test it.

Differential Revision: https://reviews.llvm.org/D82167