Files
swift-mirror/test/SourceKit/Indexing/index_swift_lib.swift
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
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.
2015-11-05 01:09:08 -08:00

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