diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-24 11:47:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-24 11:47:08 +0200 |
commit | 5d7f4abad8b452490f19db16bed031392dc4d1fd (patch) | |
tree | ba4d513d26621dddac23bb77fe1a26d473fb5f72 /tests/target-triplet | |
parent | beb827d154cdc96dfe3042034bb301f6134f4259 (diff) |
Recognize *-nto-qnx target triplets, extract version
Diffstat (limited to 'tests/target-triplet')
-rw-r--r-- | tests/target-triplet/driver.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index 36131a6..cc375e0 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -101,7 +101,13 @@ main () "x86_64-netbsd", "x86_64", "", "netbsd", "", "bsd")); - + assert (test ("aarch64-unknown-nto-qnx7.0.0", + "aarch64-nto-qnx7.0.0", + "aarch64", "", "nto-qnx", "7.0.0", "other")); + + assert (test ("aarch64-nto-qnx7.0.0", + "aarch64-nto-qnx7.0.0", + "aarch64", "", "nto-qnx", "7.0.0", "other")); // Version extraction. // |