[PATCH] D43212: [WebAssembly] Update ADT/TripleTest.cpp now that default file format has changed

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 15:51:56 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL324966: [WebAssembly] Update ADT/TripleTest.cpp now that default file format has changed (authored by sbc, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D43212

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
@@ -1027,8 +1027,13 @@
   EXPECT_EQ(Triple::ELF, Triple("i686-pc-windows-msvc-elf").getObjectFormat());
   EXPECT_EQ(Triple::ELF, Triple("i686-pc-cygwin-elf").getObjectFormat());
 
-  EXPECT_EQ(Triple::Wasm, Triple("wasm32-unknown-unknown-wasm").getObjectFormat());
-  EXPECT_EQ(Triple::Wasm, Triple("wasm64-unknown-unknown-wasm").getObjectFormat());
+  EXPECT_EQ(Triple::Wasm, Triple("wasm32-unknown-unknown").getObjectFormat());
+  EXPECT_EQ(Triple::Wasm, Triple("wasm64-unknown-unknown").getObjectFormat());
+
+  EXPECT_EQ(Triple::ELF,
+            Triple("wasm32-unknown-unknown-elf").getObjectFormat());
+  EXPECT_EQ(Triple::ELF,
+            Triple("wasm64-unknown-unknown-elf").getObjectFormat());
 
   Triple MSVCNormalized(Triple::normalize("i686-pc-windows-msvc-elf"));
   EXPECT_EQ(Triple::ELF, MSVCNormalized.getObjectFormat());


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43212.133951.patch
Type: text/x-patch
Size: 1044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180212/64df50e5/attachment.bin>


More information about the llvm-commits mailing list