···11+From ad3f7e9fa2dececfaab43963887a2f03de52d659 Mon Sep 17 00:00:00 2001
22+From: adisbladis <adis@blad.is>
33+Date: Thu, 12 Oct 2017 21:45:26 +0800
44+Subject: [PATCH] Skip failing test: large malloc
55+66+---
77+ test/cpp-utils/data/DataTest.cpp | 11 -----------
88+ 1 file changed, 11 deletions(-)
99+1010+diff --git a/test/cpp-utils/data/DataTest.cpp b/test/cpp-utils/data/DataTest.cpp
1111+index 6f9df070..bd426e62 100644
1212+--- a/test/cpp-utils/data/DataTest.cpp
1313++++ b/test/cpp-utils/data/DataTest.cpp
1414+@@ -191,17 +191,6 @@ TEST_F(DataTest, Inequality_DifferentLastByte) {
1515+ EXPECT_TRUE(data1 != data2);
1616+ }
1717+1818+-#ifdef __x86_64__
1919+-TEST_F(DataTest, LargesizeSize) {
2020+- //Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks.
2121+- uint64_t size = 4.5L*1024*1024*1024;
2222+- Data data(size);
2323+- EXPECT_EQ(size, data.size());
2424+-}
2525+-#else
2626+-#warning This is not a 64bit architecture. Large size data tests are disabled.
2727+-#endif
2828+-
2929+ TEST_F(DataTest, LoadingNonexistingFile) {
3030+ TempFile file(false); // Pass false to constructor, so the tempfile is not created
3131+ EXPECT_FALSE(Data::LoadFromFile(file.path()));
3232+--
3333+2.14.2
3434+