diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-08 17:17:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-08 17:17:53 +0200 |
commit | ff9995f1e638ada66a68a54475adea7c9191916b (patch) | |
tree | 38afb6e3bb57cd573cb23ea49624dc2a23268270 /tests/target-triplet | |
parent | 221eebf2ab4f97810a00b23bdea3a6679fe8d07d (diff) |
Add recognition of *-apple-ios* target triplets, ios target class
Diffstat (limited to 'tests/target-triplet')
-rw-r--r-- | tests/target-triplet/driver.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index a6eff05..bfa01fa 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -117,6 +117,25 @@ main () "aarch64-apple-darwin20.1.0", "aarch64", "apple", "darwin", "20.1.0", "macos")); + assert (test ("arm64-apple-ios14.4", + "aarch64-apple-ios14.4", + "aarch64", "apple", "ios", "14.4", "ios")); + + assert (test ("arm64-apple-ios", + "aarch64-apple-ios", + "aarch64", "apple", "ios", "", "ios")); + + assert (test ("arm64-apple-ios14.4-simulator", + "aarch64-apple-ios14.4-simulator", + "aarch64", "apple", "ios-simulator", "14.4", "ios")); + + assert (test ("arm64-apple-ios-simulator", + "aarch64-apple-ios-simulator", + "aarch64", "apple", "ios-simulator", "", "ios")); + + assert (test ("x86_64-apple-ios14.4-macabi", + "x86_64-apple-ios14.4-macabi", + "x86_64", "apple", "ios-macabi", "14.4", "ios")); // Version extraction. // |