aboutsummaryrefslogtreecommitdiff
path: root/tests/target-triplet/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-18 14:09:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-18 14:09:59 +0200
commit18bed2c174362f76ddedf68bb700e8b2c817fcb5 (patch)
tree463c4a495386c9ec1869f4434367bfcfc43ea884 /tests/target-triplet/driver.cxx
parent639ff12af754d024a562925a52406ace0d3c673b (diff)
Complete NetBSD compatibility
Diffstat (limited to 'tests/target-triplet/driver.cxx')
-rw-r--r--tests/target-triplet/driver.cxx8
1 files changed, 8 insertions, 0 deletions
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"));