mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-25 10:48:14 +00:00
[CUDA] Fix faulty test from rL288448
Summary: The test introduced by rL288448 is currently failing because unimportant but unexpected errors appear as output from a test compile line. This patch looks for a more specific error message, in order to avoid false positives. Reviewers: jlebar Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D27328 Switch to more specific error llvm-svn: 288453
This commit is contained in:
parent
6cc02c2fcd
commit
13bba6966f
@ -6,7 +6,7 @@
|
||||
// RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \
|
||||
// RUN: FileCheck %s
|
||||
|
||||
// CHECK-NOT: error:
|
||||
// CHECK-NOT: error: unsupported option '-fsanitize=address'
|
||||
// CHECK-DAG: "-fcuda-is-device"
|
||||
// CHECK-NOT: "-fsanitize=address"
|
||||
// CHECK-DAG: "-triple" "x86_64--linux-gnu"
|
||||
|
Loading…
x
Reference in New Issue
Block a user