Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: test/cctest/wasm/test-run-wasm.cc

Issue 1562513002: Disable several tests, fix PPC build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revise Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wasm/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-run-wasm.cc
diff --git a/test/cctest/wasm/test-run-wasm.cc b/test/cctest/wasm/test-run-wasm.cc
index c0efcfdf777a8b73a8806535d7ae6ba069d7e783..6207437ee8d735b5ede4303057c23356fca83eaf 100644
--- a/test/cctest/wasm/test-run-wasm.cc
+++ b/test/cctest/wasm/test-run-wasm.cc
@@ -545,6 +545,9 @@ TEST(Run_WasmInt32Add_P2) {
}
+// TODO(titzer): Fix for nosee4 and re-enable.
+#if 0
+
TEST(Run_WasmFloat32Add) {
WasmRunner<int32_t> r;
// int(11.5f + 44.5f)
@@ -561,6 +564,8 @@ TEST(Run_WasmFloat64Add) {
CHECK_EQ(57, r.Call());
}
+#endif
+
void TestInt32Binop(WasmOpcode opcode, int32_t expected, int32_t a, int32_t b) {
{
@@ -1110,6 +1115,9 @@ void TestFloat64UnopWithConvert(WasmOpcode opcode, int32_t expected, double a) {
}
+// TODO(titzer): Fix for nosee4 and re-enable.
+#if 0
+
TEST(Run_WasmFloat32Binops) {
TestFloat32Binop(kExprF32Eq, 1, 8.125f, 8.125f);
TestFloat32Binop(kExprF32Ne, 1, 8.125f, 8.127f);
@@ -1155,6 +1163,8 @@ TEST(Run_WasmFloat64Unops) {
TestFloat64UnopWithConvert(kExprF64Sqrt, 13, 169.4);
}
+#endif
+
TEST(Run_WasmFloat32Neg) {
WasmRunner<float> r(MachineType::Float32());
@@ -2062,6 +2072,9 @@ TEST(Run_Wasm_CheckMachIntsZero) {
}
+// TODO(titzer): Fix for msan and re-enable.
+#if 0
+
TEST(Run_Wasm_MemF32_Sum) {
WasmRunner<int32_t> r(MachineType::Int32());
const byte kSum = r.AllocateLocal(kAstF32);
@@ -2092,6 +2105,8 @@ TEST(Run_Wasm_MemF32_Sum) {
CHECK_EQ(71256.0f, buffer[0]);
}
+#endif
+
#if WASM_64
TEST(Run_Wasm_MemI64_Sum) {
@@ -2129,6 +2144,9 @@ TEST(Run_Wasm_MemI64_Sum) {
#endif
+// TODO(titzer): Fix for msan and re-enable.
+#if 0
+
template <typename T>
void GenerateAndRunFold(WasmOpcode binop, T* buffer, size_t size,
LocalType astType, MachineType memType) {
@@ -2166,6 +2184,8 @@ TEST(Run_Wasm_MemF64_Mul) {
CHECK_EQ(32, buffer[0]);
}
+#endif
+
TEST(Build_Wasm_Infinite_Loop) {
WasmRunner<int32_t> r(MachineType::Int32());
@@ -2270,6 +2290,9 @@ TEST(Run_Wasm_Infinite_Loop_not_taken2_brif) {
}
+// TODO(titzer): Fix for nosee4 and re-enable.
+#if 0
+
static void TestBuildGraphForUnop(WasmOpcode opcode, FunctionSig* sig) {
WasmRunner<int32_t> r(MachineType::Int32());
init_env(r.env(), sig);
@@ -2302,6 +2325,8 @@ TEST(Build_Wasm_SimpleExprs) {
#undef GRAPH_BUILD_TEST
}
+#endif
+
TEST(Run_Wasm_Int32LoadInt8_signext) {
TestingModule module;
@@ -2387,6 +2412,9 @@ TEST(Run_WasmInt32Global) {
}
+// TODO(titzer): Fix for msan and re-enable.
+#if 0
+
TEST(Run_WasmInt32Globals_DontAlias) {
const int kNumGlobals = 3;
TestingModule module;
@@ -2416,6 +2444,8 @@ TEST(Run_WasmInt32Globals_DontAlias) {
}
}
+#endif
+
#if WASM_64
TEST(Run_WasmInt64Global) {
@@ -3188,6 +3218,9 @@ TEST(Run_Wasm_MultipleCallIndirect) {
}
+// TODO(titzer): Fix for nosee4 and re-enable.
+#if 0
+
TEST(Run_Wasm_F32Floor) {
WasmRunner<float> r(MachineType::Float32());
BUILD(r, WASM_F32_FLOOR(WASM_GET_LOCAL(0)));
@@ -3251,6 +3284,8 @@ TEST(Run_Wasm_F64NearestInt) {
FOR_FLOAT64_INPUTS(i) { CheckDoubleEq(nearbyint(*i), r.Call(*i)); }
}
+#endif
+
TEST(Run_Wasm_F32Min) {
WasmRunner<float> r(MachineType::Float32(), MachineType::Float32());
« no previous file with comments | « src/wasm/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698