Skip to content

Commit 8297cdf

Browse files
committed
Default bash on macOS (v. 3.x) doesn't support |& syntax
1 parent ee7db99 commit 8297cdf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not mlir-cpu-runner --no-implicit-module %s |& FileCheck %s
1+
// RUN: not mlir-cpu-runner --no-implicit-module %s 2>&1 | FileCheck %s
22

33
// CHECK: Error: top-level op must be a symbol table.
44
llvm.func @main()

mlir/test/mlir-reduce/invalid.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// UNSUPPORTED: system-windows
2-
// RUN: not mlir-reduce -opt-reduction-pass --no-implicit-module %s |& FileCheck %s --check-prefix=CHECK-PASS
3-
// RUN: not mlir-reduce -reduction-tree --no-implicit-module %s |& FileCheck %s --check-prefix=CHECK-TREE
2+
// RUN: not mlir-reduce -opt-reduction-pass --no-implicit-module %s 2>&1 | FileCheck %s --check-prefix=CHECK-PASS
3+
// RUN: not mlir-reduce -reduction-tree --no-implicit-module %s 2>&1 | FileCheck %s --check-prefix=CHECK-TREE
44

55
// The reduction passes are currently restricted to 'builtin.module'.
66
// CHECK-PASS: error: Can't add pass '{{.+}}' restricted to 'builtin.module' on a PassManager intended to run on 'func.func'

0 commit comments

Comments
 (0)