node/deps/v8
Bryon Leung cd720f816a test: run v8 tests from node tree
Ported by exinfinitum from a PR by jasnell:
see https://github.com/nodejs/node-v0.x-archive/pull/14185

Allows the running of v8 tests on node's packaged v8 source code.

Note that the limited win32 support added by jasnell has NOT been ported,
and so these tests are currently UNIX ONLY.

Note that gclient depot tools
(see https://commondatastorage.googleapis.com/
chrome-infra-docs/flat/depot_tools/docs/html/
depot_tools_tutorial.html#_setting_up) and subversion are required
to run tests.

To perform tests, run the following commands:

make v8 DESTCPU=(ARCH)
make test-v8 DESTCPU=(ARCH)

where (ARCH) is your CPU architecture, e.g. x64, ia32.
DESTCPU MUST be specified for this to work properly.

Can also do tests on debug build by using "make test-v8 DESTCPU=(ARCH)
BUILDTYPE=Debug", or perform intl or benchmark tests via make
test-v8-intl or test-v8-benchmarks respectively.

Note that by default, quickcheck and TAP output are disabled, and i18n
is enabled. To activate these options, use options"QUICKCHECK=True" and
"ENABLE_V8_TAP=True" respectively.

Use "DISABLE_V8_I18N" to disable i18n.

Use V8_BUILD_OPTIONS to allow custom user-defined flags to be
appended onto "make v8".

Any tests performed after changes to the packaged v8 file will require
recompiling of v8, which can be done using "make v8 DESTCPU=(ARCH)".

Finally, two additional files necessary for one of the v8 tests have
been added to the v8 folder.

PR-URL: https://github.com/nodejs/node/pull/4704
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
2016-02-11 13:07:03 -05:00
..
benchmarks deps: update v8 to 3.29.93.1 2014-10-10 14:49:02 +04:00
build deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
docs deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
include deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
infra deps: upgrade V8 to 4.7.80.24 2015-12-04 00:06:01 -08:00
samples deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
src deps: backport 8d00c2c from v8 upstream 2016-02-01 14:50:37 +01:00
test test: run v8 tests from node tree 2016-02-11 13:07:03 -05:00
testing deps: upgrade V8 to 4.5.103.24 2015-09-06 21:38:01 +10:00
tools deps: backport bc2e393 from v8 upstream 2016-01-21 16:54:38 -08:00
.clang-format deps: update v8 to 3.24.40 2014-03-13 20:56:54 +04:00
.gitignore deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
.ycm_extra_conf.py deps: upgrade v8 to 4.2.77.13 2015-04-28 14:38:16 -07:00
AUTHORS deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
BUILD.gn deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
ChangeLog deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
codereview.settings deps: upgrade V8 to 4.5.103.33 2015-09-15 09:12:01 -07:00
DEPS deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00
LICENSE deps: upgrade V8 to 4.5.103.24 2015-09-06 21:38:01 +10:00
LICENSE.strongtalk Upgrade V8 to 3.1.2 2011-02-09 10:24:26 -08:00
LICENSE.v8 Upgrade V8 to 3.1.2 2011-02-09 10:24:26 -08:00
LICENSE.valgrind Upgrade V8 to 3.1.2 2011-02-09 10:24:26 -08:00
Makefile deps: upgrade V8 to 4.7.80.24 2015-12-04 00:06:01 -08:00
Makefile.android deps: upgrade V8 to 4.5.103.24 2015-09-06 21:38:01 +10:00
Makefile.nacl deps: upgrade v8 to 3.30.37 2014-11-14 16:34:58 +01:00
OWNERS deps: upgrade V8 to 4.6.85.23 2015-10-14 11:20:34 -07:00
PRESUBMIT.py deps: upgrade V8 to 4.7.80.24 2015-12-04 00:06:01 -08:00
README.md deps: upgrade V8 to 4.7.80.24 2015-12-04 00:06:01 -08:00
snapshot_toolchain.gni deps: upgrade V8 to 4.7.80.24 2015-12-04 00:06:01 -08:00
WATCHLISTS deps: upgrade to V8 4.8.271.17 2016-01-21 16:53:58 -08:00

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://code.google.com/p/v8/

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned on the V8 wiki.