From 5d7f4abad8b452490f19db16bed031392dc4d1fd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Aug 2020 11:47:08 +0200 Subject: Recognize *-nto-qnx target triplets, extract version --- tests/target-triplet/driver.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/target-triplet') 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. // -- cgit v1.1