If you want to run test262 tests through V8's harness,
tools/run-tests.py will be adding the flag to turn on TCO using the
file in test/test262/test262.status. Back in 5.1 days, we just passed
--harmony for all tests, but now the status file or feature flags
determine which flags are passed. In 5.1, --harmony turned on
--harmony-tailcalls and made the test pass; now, test262.status
explicitly lists the tests that depend on TCO and passes
--harmony-tailcalls for them.

Dan

On Mon, May 15, 2017 at 11:45 AM, Dmitriy - <[email protected]> wrote:
> Hello all.
>
> I'm testing V8 version 5.1 on test262.
> It passes all the tests, but when I run one test independently it fail.
> This work only for tail-call-optimization test. For example:
>
> $ tools/run-tests.py --random-seed=0 --no-presubmit --no-stress --no-network
> --arch-and-mode=x64.release --rerun-failures-max=0
> --extra-flags="--nocrankshaft --noturbo" test262
>>>> Running tests for x64.release
> [11:37|% 100|+ 61530|-   0]: Done
>
> ./out/x64.release/d8 --test --random-seed=479460652 --nocrankshaft
> --use-strict --nohard-abort --nodead-code-elimination --nofold-constants
> ./test/test262/data/harness/sta.js ./test/test262/data/harness/assert.js
> ./test/test262/harness-adapt.js ./test/test262/data/harness/tco-helper.js
> --harmony
> ./test/test262/data/test/language/expressions/call/tco-call-args.js
> --nouse-ic --noage-code
>
> ./test/test262/data/test/language/expressions/call/tco-call-args.js:12:
> RangeError: Maximum call stack size exceeded ...
>
> I tried to find where test's harness suppress tco* tests but I don't found
> anything.
>
> Who knows what the problem is?
>
> --
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to