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>
This commit is contained in:
Ben Noordhuis 2015-01-08 13:37:32 +01:00
Родитель 57a2cab769
Коммит 3e7a25dd95
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -99,9 +99,6 @@ test: all
test-parallel: all test-parallel: all
$(PYTHON) tools/test.py --mode=release parallel -J $(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 test-valgrind: all
$(PYTHON) tools/test.py --mode=release --valgrind sequential parallel message $(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 $(PYTHON) tools/test.py --mode=debug,release
make test-npm make test-npm
test-all-http1: test-build
$(PYTHON) tools/test.py --mode=debug,release --use-http1
test-all-valgrind: test-build test-all-valgrind: test-build
$(PYTHON) tools/test.py --mode=debug,release --valgrind $(PYTHON) tools/test.py --mode=debug,release --valgrind

Просмотреть файл

@ -1235,8 +1235,6 @@ def BuildOptions():
result.add_option("--snapshot", help="Run the tests with snapshot turned on", result.add_option("--snapshot", help="Run the tests with snapshot turned on",
default=False, action="store_true") default=False, action="store_true")
result.add_option("--special-command", default=None) 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", result.add_option("--valgrind", help="Run tests through valgrind",
default=False, action="store_true") default=False, action="store_true")
result.add_option("--cat", help="Print the source of the tests", result.add_option("--cat", help="Print the source of the tests",
@ -1397,11 +1395,6 @@ def Main():
buildspace = dirname(shell) buildspace = dirname(shell)
processor = GetSpecialCommandProcessor(options.special_command) 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, context = Context(workspace,
buildspace, buildspace,
VERBOSE, VERBOSE,