[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:
Hubert Tong 2021-05-20 09:50:33 -04:00
parent 0d3619864c
commit 603818b97c
1 changed files with 2 additions and 2 deletions

View File

@ -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