]> git.pld-linux.org Git - packages/protobuf.git/blob - protobuf-disable-64bitptr-test.patch
- disable failing tests on x86/x32
[packages/protobuf.git] / protobuf-disable-64bitptr-test.patch
1 --- protobuf-3.14.0/src/google/protobuf/io/zero_copy_stream_unittest.cc.orig    2020-11-13 23:55:22.000000000 +0100
2 +++ protobuf-3.14.0/src/google/protobuf/io/zero_copy_stream_unittest.cc 2021-01-18 21:39:55.771550717 +0100
3 @@ -712,20 +712,6 @@
4    }
5  }
6  
7 -// Verifies that outputs up to kint32max can be created.
8 -TEST_F(IoTest, LargeOutput) {
9 -  std::string str;
10 -  StringOutputStream output(&str);
11 -  void* unused_data;
12 -  int size;
13 -  // Repeatedly calling Next should eventually grow the buffer to kint32max.
14 -  do {
15 -    EXPECT_TRUE(output.Next(&unused_data, &size));
16 -  } while (str.size() < std::numeric_limits<int>::max());
17 -  // Further increases should be possible.
18 -  output.Next(&unused_data, &size);
19 -  EXPECT_GT(size, 0);
20 -}
21  
22  
23  // To test files, we create a temporary file, write, read, truncate, repeat.
This page took 0.07418 seconds and 3 git commands to generate.