[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-cfi-verify / X86 / blacklist-unexpected-protected.s
blob2a32e78c8df626ba551cb2196abad126061833cd
1 # RUN: llvm-mc %S/Inputs/protected-lineinfo.s -filetype obj \
2 # RUN: -triple x86_64-linux-elf -o %t.o
3 # RUN: echo "src:*tiny*" > %t.blacklist.txt
4 # RUN: llvm-cfi-verify %t.o %t.blacklist.txt | FileCheck %s
6 # CHECK-LABEL: {{^Instruction: .* \(PROTECTED\)}}
7 # CHECK-NEXT: tiny.cc:11
8 # CHECK-NEXT: {{^Blacklist Match:.*blacklist\.txt:1$}}
9 # CHECK-NEXT: ====> Unexpected Protected
11 # CHECK: Expected Protected: 0 (0.00%)
12 # CHECK: Unexpected Protected: 1 (100.00%)
13 # CHECK: Expected Unprotected: 0 (0.00%)
14 # CHECK: Unexpected Unprotected (BAD): 0 (0.00%)
16 # Source: (blacklist.txt):
17 # src:*tiny*