aboutsummaryrefslogtreecommitdiff
path: root/tests/target-triplet
diff options
context:
space:
mode:
Diffstat (limited to 'tests/target-triplet')
-rw-r--r--tests/target-triplet/driver.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx
index 0bb305e..36131a6 100644
--- a/tests/target-triplet/driver.cxx
+++ b/tests/target-triplet/driver.cxx
@@ -61,6 +61,14 @@ main ()
"arm-eabi",
"arm", "", "eabi", ""));
+ assert (test ("arm-unknown-none-eabi",
+ "arm-none-eabi",
+ "arm", "", "none-eabi", ""));
+
+ assert (test ("arm-none",
+ "arm-none",
+ "arm", "", "none", ""));
+
assert (test ("arm-none-linux-gnueabi",
"arm-linux-gnueabi",
"arm", "", "linux-gnueabi", "", "linux"));
@@ -93,15 +101,7 @@ main ()
"x86_64-netbsd",
"x86_64", "", "netbsd", "", "bsd"));
- // Removal of none-.
- //
- assert (test ("arm-none",
- "arm-none",
- "arm", "", "none", ""));
-
- assert (test ("arm-unknown-none-eabi",
- "arm-eabi",
- "arm", "", "eabi", ""));
+
// Version extraction.
//