[wasm] Remove corpus cleanup code.

In https://chromium-review.googlesource.com/c/505614/ I added code to
the test runner which deletes the old corpus of the wasm fuzzer. It's
time now to remove this code again.

R=machenbach@chromium.org

Change-Id: Ic3b8f7a1f6d725f0bf070b404a75ac37551a07c0
Reviewed-on: https://chromium-review.googlesource.com/519405
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45641}
This commit is contained in:
Andreas Haas 2017-05-31 16:03:38 +02:00 committed by Commit Bot
parent d3371c23cb
commit 0894b939a6

View File

@ -32,9 +32,6 @@ class FuzzerTestSuite(testsuite.TestSuite):
for subtest in FuzzerTestSuite.SUB_TESTS: for subtest in FuzzerTestSuite.SUB_TESTS:
shell = 'v8_simple_%s_fuzzer' % subtest shell = 'v8_simple_%s_fuzzer' % subtest
for fname in os.listdir(os.path.join(self.root, subtest)): for fname in os.listdir(os.path.join(self.root, subtest)):
if subtest in ["wasm", "wasm_asmjs"] and fname.endswith(".wasm"):
os.remove(os.path.join(self.root, subtest, fname))
continue
if not os.path.isfile(os.path.join(self.root, subtest, fname)): if not os.path.isfile(os.path.join(self.root, subtest, fname)):
continue continue
test = testcase.TestCase(self, '%s/%s' % (subtest, fname), test = testcase.TestCase(self, '%s/%s' % (subtest, fname),