v8/test/simdjs
littledan f3568ca400 Make test262 test runner check for which exception is thrown
test262 "negative" test expectations list which exception is thrown. The ES2017
draft specification is very specific about which exception class is thrown
from which path, and V8 works hard to be correct with respect to that spec.

Previously, the test262 test runner would accept any nonzero status code,
such as from a crash, or a FAIL printed out, for a negative test. This
patch makes negative tests check for the right answer using a quick-and-dirty
parsing of the exception printing from d8 to find the exception class.
It invokes d8 in a way to get a status code of 0 from thrown exceptions
so that 'negative' tests aren't actually implemented by negating the output.

Amazingly, this didn't catch any test262 failures, but I verified the extra
checking interactively by changing a negative test to expect a different type
and saw it fail.

BUG=v8:4803
R=machenbach
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#34763}
2016-03-14 21:20:37 +00:00
..
generate.py Remove on-by-default flag --harmony-object 2015-09-18 18:37:57 +00:00
harness-adapt.js [simd.js] Disable SIMD polyfill. 2015-09-01 22:24:57 +00:00
harness-finish.js Adding ecmascript simd tests. 2015-05-19 10:14:36 +00:00
simdjs.gyp [swarming] Isolate more tests. 2015-10-19 11:37:26 +00:00
simdjs.isolate [swarming] Isolate more tests. 2015-10-19 11:37:26 +00:00
SimdJs.json Remove on-by-default flag --harmony-object 2015-09-18 18:37:57 +00:00
simdjs.status Revert "[turbofan] Stage --turbo-inlining behind --turbo flag." and "[turbofan] Skip more tests that fail with --turbo-inlining." 2015-10-20 06:23:02 +00:00
testcfg.py Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00