Skip to content

Commit 8ebf7b7

Browse files
authored
[InstallAPI][Test] Add test for invalid verification mode (llvm#87602)
1 parent c174252 commit 8ebf7b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang/test/InstallAPI/driver-invalid-options.test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@
77
// RUN: not clang-installapi -target x86_64-apple-ios-simulator %s -o tmp.tbd 2> %t
88
// RUN: FileCheck --check-prefix INVALID_INSTALL_NAME -input-file %t %s
99
// INVALID_INSTALL_NAME: error: no install name specified: add -install_name <path>
10+
11+
/// Check invalid verification mode.
12+
// RUN: not clang-installapi -install_name Foo -target arm64-apple-ios13 \
13+
// RUN: --verify-mode=Invalid -o tmp.tbd 2> %t
14+
// RUN: FileCheck --check-prefix INVALID_VERIFY_MODE -input-file %t %s
15+
// INVALID_VERIFY_MODE: error: invalid value 'Invalid' in '--verify-mode=Invalid'

0 commit comments

Comments
 (0)