mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
[WebAssembly] Update ADT/TripleTest.cpp now that default file format has changed
Differential Revision: https://reviews.llvm.org/D43212 llvm-svn: 324966
This commit is contained in:
parent
5e5732b2bd
commit
2b5694137f
@ -1027,8 +1027,13 @@ TEST(TripleTest, FileFormat) {
|
||||
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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user