File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11// Test that attempting to create a local crash reproducer without disabling threading
22// prints an error from the pass manager (as opposed to crashing with a stack trace).
33
4- // We need to use `||` in the RUN command because lit will fail the test due to mlir-opt
5- // returning non-zero status for this test case, however this is the intended behaviour.
4+ // RUN: mlir-opt --verify-diagnostics -- mlir-pass-pipeline-local-reproducer \
5+ // RUN: --mlir-pass-pipeline-crash-reproducer=%t %s
66
7- // RUN: mlir-opt --mlir-pass-pipeline-local-reproducer --mlir-pass-pipeline-crash-reproducer=%t %s 2>&1 || FileCheck --input-file %s %s
8-
9- // CHECK: error: Local crash reproduction may not be used without disabling mutli-threading first.
7+ // expected-error@unknown {{Local crash reproduction may not be used without disabling mutli-threading first.}}
You can’t perform that action at this time.
0 commit comments