[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-symbolizer / dsym.test
blob326602d3f73361482a3aa1518ae2dd5ad18c5486
1 RUN: echo "%p/Inputs/dsym-test-exe 0x0000000100000f90" > %t.input
2 RUN: echo "%p/Inputs/dsym-test-exe-second 0x0000000100000f90" >> %t.input
3 RUN: llvm-symbolizer < %t.input | FileCheck %s --check-prefix=CHECK-NOHINT
4 RUN: llvm-symbolizer -dsym-hint=%p/Inputs/dsym-test-exe-differentname.dSYM < %t.input | FileCheck %s --check-prefix=CHECK-HINT
6 CHECK-NOHINT: main
7 CHECK-NOHINT: dsym-test.c
8 CHECK-NOHINT: main
9 CHECK-NOHINT: ??:0:0
11 CHECK-HINT: main
12 CHECK-HINT: dsym-test.c
13 CHECK-HINT: main
14 CHECK-HINT: dsym-test.c