mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
16 lines
659 B
Swift
16 lines
659 B
Swift
// REQUIRES: FIXME
|
|
|
|
// RUN: %sourcekitd-test -req=index %swiftlib_dir/macosx/x86_64/Swift.swiftmodule -- %mcp_opt > %t.txt
|
|
// RUN: FileCheck %s -input-file %t.txt
|
|
|
|
// CHECK: key.name: "Dictionary",
|
|
// CHECK-NEXT: key.usr: "s:Vs10Dictionary",
|
|
|
|
// RUN: FileCheck %s -input-file %t.txt -check-prefix=CHECK-INTERNAL
|
|
// RUN: %sourcekitd-test -req=index %swiftlib_dir/macosx/x86_64/Foundation.swiftmodule -- %clang-importer-sdk %mcp_opt > %t.foundation.txt
|
|
// RUN: FileCheck %s -input-file %t.foundation.txt -check-prefix=CHECK-FOUNDATION
|
|
|
|
// CHECK-INTERNAL-NOT: key.name: "_bridgeToObjectiveCUnconditional",
|
|
|
|
// CHECK-FOUNDATION-NOT: _convertStringToNSString
|