Make the ParserSync test faster (and re-enable it).
authorMarja Hölttä <marja@chromium.org>
Tue, 2 Dec 2014 13:23:30 +0000 (14:23 +0100)
committerMarja Hölttä <marja@chromium.org>
Tue, 2 Dec 2014 13:23:39 +0000 (13:23 +0000)
commitd3c217674f2bf306dd3df0e88cfd1d7051585b99
tree8b9df75919e6ee7045323505dff9d39df813d5ec
parent5a37253b1ac93b246435bc4164b054a9f25368ad
Make the ParserSync test faster (and re-enable it).

Most of the run time came from testing with all possible flag combinations. None
of the flags passed affect the test, and there are specialized tests for testing
the features behind the flags; no need to slow down the generic test.

With these changes, run time for debug build goes from 186 s to 0.5 s.

In addition, fixed some missing commas between the test cases.

R=svenpanne@chromium.org
BUG=v8:3707
LOG=N

Review URL: https://codereview.chromium.org/766673003

Cr-Commit-Position: refs/heads/master@{#25612}
test/cctest/test-parsing.cc