0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00
Cross-platform JavaScript runtime environment https://nodejs.org/
Go to file
Julien Gilli 8e60b4523c tests: add test for non-integer delay timers.
PR #8034 came with a test to make sure that timers expiry is based on
monotonic time and not on wall-clock time. However, a bug in the
implementation broke timers with non-integer delays. A fix for this
issue was provided with PR #8073, but it didn't come with a test.

Because #8073 fixed a subtle issue that could reappear in the future,
and because the impact of such an issue would be significant, I suggest
adding this test.

The test would timeout after 1 minute if the issue was reproduced.
Otherwise it will run very quickly.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
2014-09-02 22:22:57 +04:00
benchmark
deps deps: enable ARM assembly for OpenSSL 2014-08-27 00:18:55 +04:00
doc doc: document arguments for 'error' event on a stream 2014-08-07 12:19:33 -07:00
lib url: Add support for RFC 3490 separators 2014-08-27 14:36:04 +04:00
src Now working on 0.10.32 2014-08-19 18:12:30 -04:00
test tests: add test for non-integer delay timers. 2014-09-02 22:22:57 +04:00
tools Now working on 0.10.31 2014-07-31 11:12:08 -07:00
.gitattributes
.gitignore timers: backport f8193ab 2014-07-31 08:53:24 -07:00
.mailmap
.travis.yml
AUTHORS 2014.08.19, Version 0.10.31 (Stable) 2014-08-19 11:19:52 -04:00
BSDmakefile
ChangeLog 2014.08.19, Version 0.10.31 (Stable) 2014-08-19 11:19:52 -04:00
common.gypi gyp: use --export-dynamic on FreeBSD 2014-08-27 00:20:10 +04:00
configure
CONTRIBUTING.md
LICENSE
Makefile timers: backport f8193ab 2014-07-31 08:53:24 -07:00
node.gyp gyp: preserve v8dbg syms on freebsd too 2014-08-18 17:58:36 +04:00
README.md
vcbuild.bat

Evented I/O for V8 javascript. Build Status

To build:

Prerequisites (Unix only):

* GCC 4.2 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)

Unix/Macintosh:

./configure
make
make install

If your python binary is in a non-standard location or has a non-standard name, run the following instead:

export PYTHON=/path/to/python
$PYTHON ./configure
make
make install

Windows:

vcbuild.bat

You can download pre-built binaries for various operating systems from http://nodejs.org/download/. The Windows and OS X installers will prompt you for the location to install to. The tarballs are self-contained; you can extract them to a local directory with:

tar xzf /path/to/node-<version>-<platform>-<arch>.tar.gz

Or system-wide with:

cd /usr/local && tar --strip-components 1 -xzf \
                     /path/to/node-<version>-<platform>-<arch>.tar.gz

To run the tests:

Unix/Macintosh:

make test

Windows:

vcbuild.bat test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers