node/tools
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
..
configure.d
doc tools,doc: fix linting errors 2016-02-09 19:08:47 +01:00
eslint
eslint-rules
gyp
icu
msvs
osx-pkg.pmdoc
pkgsrc
rpm
certdata.txt
check-imports.sh
cpplint.py
create_expfile.sh
genv8constants.py
getnodeversion.py
gyp_node.py
install.py
js2c.py
license2rtf.js
license-builder.sh
lsan_suppressions.txt
make-v8.sh test: run v8 tests from node tree 2016-02-11 13:07:03 -05:00
Makefile
mk-ca-bundle.pl
osx-codesign.sh
osx-pkg-postinstall.sh
osx-productsign.sh
release.sh tools: add support for subkeys in release tools 2016-01-26 09:05:33 -08:00
run-valgrind.py
specialize_node_d.py
test-npm.sh
test.py
update-authors.sh
utils.py