forked from OSchip/llvm-project
[test] Fix pre-ra-sched.c to check for error message from stderr
The test previous accidentally passed because it was looking for a lack of specific input from the binary(!) output being sent to stdout.
This commit is contained in:
parent
0d3619864c
commit
603818b97c
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang %s -mllvm -pre-RA-sched=fast -c -o - | FileCheck %s
|
||||
// RUN: %clang %s -mllvm -pre-RA-sched=linearize -c -o - | FileCheck %s
|
||||
// RUN: %clang %s -mllvm -pre-RA-sched=fast -c -o %t-fast.o 2>&1 | FileCheck --allow-empty %s
|
||||
// RUN: %clang %s -mllvm -pre-RA-sched=linearize -c -o %t-linearize.o 2>&1 | FileCheck --allow-empty %s
|
||||
|
||||
// CHECK-NOT: clang (LLVM option parsing): for the --pre-RA-sched option: Cannot find option named
|
||||
|
|
Loading…
Reference in New Issue