Browse Source

build: use shorthand lint target from test

Instead of invoking jslint/cpplint from the test target,
call on the generic lint instead since it checks if eslint
exists. Since our tarballs lacks eslint we now get a more graceful
exit from `make test` instead of a traceback from jslint.

PR-URL: https://github.com/nodejs/node/pull/6406
Fixes: https://github.com/nodejs/node/issues/6408
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
process-exit-stdio-flushing
Johan Bergström 9 years ago
parent
commit
62c31fe392
  1. 6
      Makefile

6
Makefile

@ -115,9 +115,9 @@ v8:
$(MAKE) -C deps/v8 $(V8_ARCH) $(V8_BUILD_OPTIONS) $(MAKE) -C deps/v8 $(V8_ARCH) $(V8_BUILD_OPTIONS)
test: | cctest # Depends on 'all'. test: | cctest # Depends on 'all'.
$(PYTHON) tools/test.py --mode=release doctool message parallel sequential -J $(PYTHON) tools/test.py --mode=release -J \
$(MAKE) jslint doctool message parallel sequential
$(MAKE) cpplint $(MAKE) lint
test-parallel: all test-parallel: all
$(PYTHON) tools/test.py --mode=release parallel -J $(PYTHON) tools/test.py --mode=release parallel -J

Loading…
Cancel
Save