[PATCH] D49314: [OpenEmbedded] Add a unittest for aarch64-oe-linux
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 19 11:15:21 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337479: [OpenEmbedded] Add a unittest for aarch64-oe-linux (authored by mgrang, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D49314?vs=155453&id=156326#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49314
Files:
llvm/trunk/unittests/ADT/TripleTest.cpp
Index: llvm/trunk/unittests/ADT/TripleTest.cpp
===================================================================
--- llvm/trunk/unittests/ADT/TripleTest.cpp
+++ llvm/trunk/unittests/ADT/TripleTest.cpp
@@ -367,6 +367,12 @@
EXPECT_EQ(Triple::Linux, T.getOS());
EXPECT_EQ(Triple::GNUEABI, T.getEnvironment());
+ T = Triple("aarch64-oe-linux");
+ EXPECT_EQ(Triple::aarch64, T.getArch());
+ EXPECT_EQ(Triple::OpenEmbedded, T.getVendor());
+ EXPECT_EQ(Triple::Linux, T.getOS());
+ EXPECT_EQ(Triple::UnknownEnvironment, T.getEnvironment());
+
T = Triple("huh");
EXPECT_EQ(Triple::UnknownArch, T.getArch());
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49314.156326.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180719/6a104ad5/attachment.bin>
More information about the llvm-commits
mailing list