mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
LLVM no longer canonicalizes target triples for maOS versions. Update tests to account for this.
12 lines
397 B
Swift
12 lines
397 B
Swift
// Test that -print-target-info infers the host OS when that host OS is macOS
|
|
//
|
|
// We could duplicate this test for other host platforms.
|
|
|
|
// RUN: %swift_driver -print-target-info | %FileCheck %s
|
|
// RUN: %target-swift-frontend -print-target-info | %FileCheck %s
|
|
|
|
// REQUIRES: OS=macosx
|
|
|
|
// CHECK: "triple": "{{.*}}-apple-macosx{{[0-9][0-9]}}
|
|
// CHECK: "unversionedTriple": "{{.*}}-apple-macosx"
|