• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: not llvm-nm %p/Inputs/tapi-invalid-v1.tbd 2>&1\
2RUN:          | FileCheck %s -check-prefix V1
3
4RUN: not llvm-nm %p/Inputs/tapi-invalid-v2.tbd 2>&1\
5RUN:          | FileCheck %s -check-prefix V2
6
7RUN: not llvm-nm %p/Inputs/tapi-invalid-v3.tbd 2>&1\
8RUN:          | FileCheck %s -check-prefix V3
9
10# Typo Check
11V1: tapi-invalid-v1.tbd malformed file
12V1-NEXT: tapi-invalid-v1.tbd:12:2: error: unknown key 'expors'
13
14# Missing required key
15V2: tapi-invalid-v2.tbd malformed file
16V2-NEXT: tapi-invalid-v2.tbd:2:1: error: missing required key 'archs'
17
18# v2 key in v3 specified file
19V3: tapi-invalid-v3.tbd malformed file
20V3-NEXT: tapi-invalid-v3.tbd:19:16: error: unknown key 'swift-version'
21