File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
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- // RUN: mlir-opt --mlir-pass-pipeline-local-reproducer --mlir-pass-pipeline-crash-reproducer=%t 2>&1 %s | FileCheck %s
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.
6+
7+ // RUN: mlir-opt --mlir-pass-pipeline-local-reproducer --mlir-pass-pipeline-crash-reproducer=%t %s 2>&1 || FileCheck --input-file %s %s
8+
59// CHECK: error: Local crash reproduction may not be used without disabling mutli-threading first.
You can’t perform that action at this time.
0 commit comments