[rebranch] Remove check for minor version

Minor isn't provided in the `Triple` for Linux, so it's no longer added
to the output.
This commit is contained in:
Ben Barham
2022-05-19 15:20:24 -07:00
parent 7a6fa5b0a5
commit ac4715bb33
2 changed files with 18 additions and 9 deletions

View File

@@ -1,8 +1,7 @@
// RUN: %empty-directory(%t)
// RUN: %target-build-swift %s -module-name SymbolGraphModule -emit-module -emit-module-path %t/
// RUN: %target-swift-symbolgraph-extract -module-name SymbolGraphModule -I %t -pretty-print -output-dir %t
// RUN: %FileCheck %s --input-file %t/SymbolGraphModule.symbols.json
// RUN: %FileCheck %s --input-file %t/SymbolGraphModule.symbols.json --check-prefix=CHECK --check-prefix=CHECK-%target-os
public struct S {
public var x: Int
}
@@ -14,6 +13,15 @@ public struct S {
// CHECK: vendor
// CHECK-NEXT: operatingSystem
// CHECK-NEXT: name
// CHECK-NEXT: minimumVersion
// CHECK-NEXT: major
// CHECK-NEXT: minor
// CHECK-macosx-NEXT: minimumVersion
// CHECK-ios-NEXT: minimumVersion
// CHECK-tvos-NEXT: minimumVersion
// CHECK-watchos-NEXT: minimumVersion
// CHECK-macosx-NEXT: major
// CHECK-ios-NEXT: major
// CHECK-tvos-NEXT: major
// CHECK-watchos-NEXT: major
// CHECK-macosx-NEXT: minor
// CHECK-ios-NEXT: minor
// CHECK-tvos-NEXT: minor
// CHECK-watchos-NEXT: minor