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 build: i18n: add icu config options 2015-01-02 16:51:53 -08:00
doc tools,doc: fix linting errors 2016-02-09 19:08:47 +01:00
eslint tools: update eslint to v1.10.3 2016-01-13 23:15:39 +01:00
eslint-rules tools: fix style issue after eslint update 2016-01-13 23:16:12 +01:00
gyp tools: fix gyp to work on MacOSX without XCode 2015-10-30 12:27:27 +01:00
icu build: fix --with-intl=system-icu for x-compile 2015-11-14 16:38:40 -08:00
msvs tools: fix setting path containing an ampersand 2016-01-23 04:08:45 -05:00
osx-pkg.pmdoc build: fix .pkg creation tooling 2015-09-06 21:38:09 +10:00
pkgsrc build: add pkgsrc rule 2013-06-06 15:35:59 -07:00
rpm tools: add --prof-process flag to node binary 2015-12-08 02:00:46 +01:00
certdata.txt tools: update certdata.txt 2015-11-21 21:33:01 +01:00
check-imports.sh tools: add license boilerplate to check-imports.sh 2015-08-23 08:55:12 -07:00
cpplint.py tools: list missing whitespace/if-one-line cpplint 2015-12-08 22:01:41 +01:00
create_expfile.sh build: Updates for AIX npm support - part 1 2015-10-23 10:43:02 -04:00
genv8constants.py Revert "sunos: unbreak build after v8 downgrade" 2013-02-26 07:57:12 +00:00
getnodeversion.py Remove str.format to support python2.5. 2011-11-14 17:09:44 -08:00
gyp_node.py crypto: fix native module compilation with FIPS 2015-12-03 15:34:51 +09:00
install.py tools: add --prof-process flag to node binary 2015-12-08 02:00:46 +01:00
js2c.py tools: add --prof-process flag to node binary 2015-12-08 02:00:46 +01:00
license2rtf.js license2rtf: collapse whitespace 2012-06-14 18:36:49 +02:00
license-builder.sh tools: fix license-builder.sh for ICU 2016-01-20 16:34:16 +11:00
lsan_suppressions.txt build: add --enable-asan with builtin leakcheck 2015-09-06 21:38:00 +10:00
make-v8.sh test: run v8 tests from node tree 2016-02-11 13:07:03 -05:00
Makefile timers: backport f8193ab 2014-07-31 08:53:24 -07:00
mk-ca-bundle.pl tools: customize mk-ca-bundle.pl 2015-06-02 19:27:47 +02:00
osx-codesign.sh build: update build targets for io.js 2015-06-25 15:22:27 +10:00
osx-pkg-postinstall.sh Include NPM, update .pkg to install it. 2011-11-21 10:50:52 -08:00
osx-productsign.sh build: update build targets for io.js 2015-06-25 15:22:27 +10:00
release.sh tools: add support for subkeys in release tools 2016-01-26 09:05:33 -08:00
run-valgrind.py Use v8's test runner 2009-06-22 14:08:42 +02:00
specialize_node_d.py gyp: specialize node.d for freebsd 2014-02-21 00:46:26 +04:00
test-npm.sh tools: update npm test tooling for 3.3.10+ 2015-11-02 14:22:41 -05:00
test.py test: inherit JOBS from environment 2015-12-31 18:29:07 +11:00
update-authors.sh doc: make tools/update-authors.sh cross-platform 2015-03-11 13:25:17 +01:00
utils.py build: Updates to enable AIX support 2015-09-15 13:17:28 -04:00