llvm-for-llvmta/tools/clang/test/Analysis/scan-build/help.test

22 lines
345 B
Plaintext

// FIXME: Actually, "perl".
REQUIRES: shell
RUN: %scan-build -h | FileCheck %s
RUN: %scan-build --help | FileCheck %s
Test for help output from scan-build.
CHECK: USAGE: scan-build [options] <build command> [build options]
...
CHECK: AVAILABLE CHECKERS:
...
CHECK: + core.NullDereference
CHECK: optin.performance.GCDAntipattern
...