Fedor Indutny
0e19476595
test: split test in parallel/sequential
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/iojs/io.js/pull/172
Fix : iojs/io.js#139
10 years ago
Ben Noordhuis
185c515c9f
src: clean up CLI argument parser
* Exit with an error message when the option is not a node or V8 option.
* Remove the option_end_index global. Needs to happen anyway for
the multi-context work, might as well land it in master now.
* Add a smidgen of const-correctness.
* Pay off a few years of accrued technical debt.
11 years ago
Ben Noordhuis
19a432260c
test: add extra checks in simple/test-cli-eval
12 years ago
Ben Noordhuis
83b1dda12f
cli: make argument to -p optional
12 years ago
Ben Noordhuis
f03c3203a1
cli: make -p equivalent to -pe
Fixes #3938 .
12 years ago
isaacs
b3cf3f35fc
Report errors properly from --eval and stdin
13 years ago
Ben Noordhuis
0888cdd412
test: fix bad comment
13 years ago
Ben Noordhuis
3d22dbf27b
cli: add -p switch, print result of --eval
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Bert Belder
10e7c52a70
win: make test-cli-eval.js pass
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
Ben Noordhuis
f9cfd70946
test: fix bad test in test-cli-eval.js
The test checked that stdout was empty. Forgetting to escape brackets
in the argument to --eval made that true on UNIX systems: the error
was written to stderr.
Props to Peter Bright for reporting the issue.
14 years ago
Ben Noordhuis
df3a8fcb62
cli: don't print result of --eval
Fixes #572 .
14 years ago
Fuji, Goro
8971b59365
`node -e ''` should mean eval(''), not invoke REPL
Fixes #1116
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Carter Allen
5ad93ab573
Fix tests when spaces are in path
14 years ago
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
14 years ago
Ben Noordhuis
f0b8cc6a94
require() should work with `node --eval`.
with tests
Fix module path resolve bug. Normally the module path is taken from
realpath(__filename) but with eval there is (of course) no filename
14 years ago