Browse Source

test: remove --use-http1 test runner flag

The flag was used for a short while during the v0.5 development cycle,
four years ago.  Remove it, it's long overdue.

PR-URL: https://github.com/iojs/io.js/pull/262
Reviewed-By: Bert Belder <bertbelder@gmail.com>
v1.8.0-commit
Ben Noordhuis 10 years ago
parent
commit
3e7a25dd95
  1. 6
      Makefile
  2. 7
      tools/test.py

6
Makefile

@ -99,9 +99,6 @@ test: all
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
@ -128,9 +125,6 @@ test-all: test-build test/gc/node_modules/weak/build/Release/weakref.node
$(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

7
tools/test.py

@ -1235,8 +1235,6 @@ def BuildOptions():
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",
@ -1397,11 +1395,6 @@ def Main():
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,

Loading…
Cancel
Save