test-parallel: all
$(PYTHON) tools/test.py --mode=release parallel -J
-test-http1: all
- $(PYTHON) tools/test.py --mode=release --use-http1 sequential parallel message
-
test-valgrind: all
$(PYTHON) tools/test.py --mode=release --valgrind sequential parallel message
$(PYTHON) tools/test.py --mode=debug,release
make test-npm
-test-all-http1: test-build
- $(PYTHON) tools/test.py --mode=debug,release --use-http1
-
test-all-valgrind: test-build
$(PYTHON) tools/test.py --mode=debug,release --valgrind
result.add_option("--snapshot", help="Run the tests with snapshot turned on",
default=False, action="store_true")
result.add_option("--special-command", default=None)
- result.add_option("--use-http1", help="Pass --use-http1 switch to node",
- default=False, action="store_true")
result.add_option("--valgrind", help="Run tests through valgrind",
default=False, action="store_true")
result.add_option("--cat", help="Print the source of the tests",
buildspace = dirname(shell)
processor = GetSpecialCommandProcessor(options.special_command)
- if options.use_http1:
- def wrap(processor):
- return lambda args: processor(args[:1] + ['--use-http1'] + args[1:])
- processor = wrap(processor)
-
context = Context(workspace,
buildspace,
VERBOSE,