diff options
author | François Degros <fdegros@chromium.org> | 2022-02-22 00:11:00 +0000 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-02-21 16:22:23 -0800 |
commit | 06d838f793fe0b308b1c3f25109bd2fc7e17337a (patch) | |
tree | 2d3913235bd9afa6442cabeebe26cd8ee0c674c4 | |
parent | 4aca88e3555bca33756b7c072bb347a249232441 (diff) | |
download | zlib-06d838f793fe0b308b1c3f25109bd2fc7e17337a.tar.gz |
[zip] Enable test ZipTest.BigFile
BUG=chromium:1298347
TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests
Change-Id: I0a6ccef11ffcec93082dc3e6ee4c90fa79ef5f21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3469120
Reviewed-by: Noel Gordon <noel@chromium.org>
Commit-Queue: François Degros <fdegros@chromium.org>
Cr-Commit-Position: refs/heads/main@{#973591}
NOKEYCHECK=True
GitOrigin-RevId: d9fb4a003d1447be29a5cff3e4bd3b73202f29eb
-rw-r--r-- | google/zip_unittest.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/google/zip_unittest.cc b/google/zip_unittest.cc index 8b54f9b..7dac143 100644 --- a/google/zip_unittest.cc +++ b/google/zip_unittest.cc @@ -859,7 +859,16 @@ TEST_F(ZipTest, NestedZip) { // (crbug.com/1221447). Tests that the big ZIP can be opened, that its entries // are correctly enumerated (crbug.com/1298347), and that the big file can be // extracted. +// +// This test is too slow with TSAN. +// OS Fuchsia does not seem to support large files. +// The trybot android-asan is running out of space when performing this test. +#if defined(THREAD_SANITIZER) || defined(OS_FUCHSIA) || \ + (defined(OS_ANDROID) && defined(ADDRESS_SANITIZER)) TEST_F(ZipTest, DISABLED_BigFile) { +#else +TEST_F(ZipTest, BigFile) { +#endif base::ScopedTempDir temp_dir; ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); |