Remove tests that have been disabled for 7 years

Also remove check for GCC that is no longer supported.

PiperOrigin-RevId: 655985282
pull/17614/head
Protobuf Team Bot 8 months ago committed by Copybara-Service
parent c5ca2cf8fb
commit f1df391ad0
  1. 5
      src/google/protobuf/io/coded_stream_unittest.cc

@ -337,9 +337,6 @@ TEST_2D(CodedStreamTest, WriteVarint64, kVarintCases, kBlockSizes) {
memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size));
}
// This test causes gcc 3.3.5 (and earlier?) to give the cryptic error:
// "sorry, unimplemented: `method_call_expr' not supported by dump_expr"
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
int32_t kSignExtendedVarintCases[] = {0, 1, -1, 1237894, -37895138};
@ -381,8 +378,6 @@ TEST_2D(CodedStreamTest, WriteVarint32SignExtended, kSignExtendedVarintCases,
EXPECT_EQ(output.ByteCount(), input.ByteCount());
}
#endif
// -------------------------------------------------------------------
// Varint failure test.

Loading…
Cancel
Save