blob: feb0ed9cfbb9faf10d6ece4e05986c2d6b61657c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From ad3f7e9fa2dececfaab43963887a2f03de52d659 Mon Sep 17 00:00:00 2001
From: adisbladis <adis@blad.is>
Date: Thu, 12 Oct 2017 21:45:26 +0800
Subject: [PATCH] Skip failing test: large malloc
---
test/cpp-utils/data/DataTest.cpp | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/test/cpp-utils/data/DataTest.cpp b/test/cpp-utils/data/DataTest.cpp
index 6f9df070..bd426e62 100644
--- a/test/cpp-utils/data/DataTest.cpp
+++ b/test/cpp-utils/data/DataTest.cpp
@@ -191,17 +191,6 @@ TEST_F(DataTest, Inequality_DifferentLastByte) {
EXPECT_TRUE(data1 != data2);
}
-#ifdef __x86_64__
-TEST_F(DataTest, LargesizeSize) {
- //Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks.
- uint64_t size = 4.5L*1024*1024*1024;
- Data data(size);
- EXPECT_EQ(size, data.size());
-}
-#else
-#warning This is not a 64bit architecture. Large size data tests are disabled.
-#endif
-
TEST_F(DataTest, LoadingNonexistingFile) {
TempFile file(false); // Pass false to constructor, so the tempfile is not created
EXPECT_FALSE(Data::LoadFromFile(file.path()));
--
2.14.2
|