Use `not` to invert return code in expected to fail tests

Windows does not like the RUN command of `(... || true) | ...`.

PiperOrigin-RevId: 277587031
This commit is contained in:
Lei Zhang 2019-10-30 14:37:45 -07:00 committed by A. Unique TensorFlower
parent 736ad2061c
commit d024b68e6b
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: (mlir-tblgen -gen-rewriters -I %S/../../include %s 2>&1 || true) | FileCheck %s
// RUN: not mlir-tblgen -gen-rewriters -I %S/../../include %s 2>&1 | FileCheck %s
include "mlir/IR/OpBase.td"