// swift-tools-version:5.0

import PackageDescription

let package = Package(
  name: "LLVM",
  platforms: [
    .macOS(.v10_14),
  ],
  products: [
    .library(
      name: "LLVM",
      targets: ["LLVM"]),
  ],
  dependencies: [
    .package(url: "https://github.com/llvm-swift/FileCheck.git", from: "0.0.3"),
  ],
  targets: [
    .systemLibrary(
      name: "cllvm",
      pkgConfig: "cllvm",
      providers: [
          .brew(["llvm"]),
      ]),
    .target(
      name: "llvmshims",
      dependencies: ["cllvm"]),
    .target(
      name: "LLVM",
      dependencies: ["cllvm", "llvmshims"]),
    .testTarget(
      name: "LLVMTests",
      dependencies: ["LLVM", "FileCheck"]),
  ],
  cxxLanguageStandard: .cxx14
)

// swift-tools-version:5.2

import PackageDescription

let package = Package(
  name: "LLVM",
  platforms: [
    .macOS(.v10_14),
  ],
  products: [
    .library(
      name: "LLVM",
      targets: ["LLVM"]),
  ],
  dependencies: [
    .package(url: "https://github.com/llvm-swift/FileCheck.git", from: "0.0.3"),
  ],
  targets: [
    .systemLibrary(
      name: "cllvm",
      pkgConfig: "cllvm",
      providers: [
          .brew(["llvm"]),
      ]),
    .target(
      name: "llvmshims",
      dependencies: ["cllvm"]),
    .target(
      name: "LLVM",
      dependencies: ["cllvm", "llvmshims"]),
    .testTarget(
      name: "LLVMTests",
      dependencies: ["LLVM", "FileCheck"]),
  ],
  cxxLanguageStandard: .cxx14
)

Move to swift-tools-version:5.2 This should allow Swift 5.2's package resolution to not resolve dependencies only used in test targets (in this case, FileCheck and all the dependencies it brings).
Move to swift-tools-version:5.2
This should allow Swift 5.2's package resolution to not resolve dependencies only used in test targets (in this case, FileCheck and all the dependencies it brings).
