From 18bed2c174362f76ddedf68bb700e8b2c817fcb5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2020 14:09:59 +0200 Subject: Complete NetBSD compatibility --- tests/target-triplet/driver.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/target-triplet') diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index 62e6503..0bb305e 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -89,6 +89,10 @@ main () "x86_64-linux-gnux32", "x86_64", "", "linux-gnux32", "", "linux")); + assert (test ("x86_64--netbsd", + "x86_64-netbsd", + "x86_64", "", "netbsd", "", "bsd")); + // Removal of none-. // assert (test ("arm-none", @@ -109,6 +113,10 @@ main () "x86_64-freebsd10.2", "x86_64", "", "freebsd", "10.2", "bsd")); + assert (test ("x86_64-unknown-netbsd9.0", + "x86_64-netbsd9.0", + "x86_64", "", "netbsd", "9.0", "bsd")); + assert (test ("x86_64-pc-openbsd5.6", "x86_64-openbsd5.6", "x86_64", "", "openbsd", "5.6", "bsd")); -- cgit v1.1