[analyzer] Fix the 'analyzer-enabled-checkers.c' test on non-linux machines.
'-Xclang -triple' doesn't seem to override the default target triple as reliably as '--target'. This leads to test failing due to platform-specific checks getting unexpectedly enabled. llvm-svn: 371781
This commit is contained in:
parent
a42070a6aa
commit
851e95c1c1
|
@ -1,5 +1,4 @@
|
|||
// RUN: %clang --analyze %s \
|
||||
// RUN: -Xclang -triple -Xclang x86_64-pc-linux-gnu \
|
||||
// RUN: %clang --analyze %s --target=x86_64-pc-linux-gnu \
|
||||
// RUN: -Xclang -analyzer-list-enabled-checkers \
|
||||
// RUN: -Xclang -analyzer-display-progress \
|
||||
// RUN: 2>&1 | FileCheck %s --implicit-check-not=ANALYZE \
|
||||
|
|
Loading…
Reference in New Issue