diff options
-rwxr-xr-x | tests/runner.py | 4 | ||||
-rwxr-xr-x | tests/socket_server.sh | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index cd2e2bd6..eab327cc 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8667,7 +8667,7 @@ elif 'browser' in str(sys.argv): self.pids = [] def server_func(q): - proc = Popen([path_from_root('tests', 'socket_server.sh')]) + proc = Popen([path_from_root('tests', 'socket_server.sh'), '8990']) q.put(proc.pid) proc.communicate() @@ -8708,6 +8708,8 @@ elif 'browser' in str(sys.argv): with self.WebsockHarness(): self.btest('websockets.c', expected='571') + #def test_websockets_bi(self): + elif 'benchmark' in str(sys.argv): # Benchmarks. Run them with argument |benchmark|. To run a specific test, do # |benchmark.test_X|. diff --git a/tests/socket_server.sh b/tests/socket_server.sh index a8a3aa50..4fd2edb1 100755 --- a/tests/socket_server.sh +++ b/tests/socket_server.sh @@ -1,3 +1,3 @@ #!/bin/sh -while true; do (/bin/echo -en "te\x01\xff\x79st\x02") | nc -vvvl 127.0.0.1 8990; done; +while true; do (/bin/echo -en "te\x01\xff\x79st\x02") | nc -vvvl 127.0.0.1 $1; done; |