diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 15:07:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 15:07:09 -0700 |
commit | 574eb96053c62d5ad809e36b9bfcc66860331eb2 (patch) | |
tree | b76c885a78214a7698391e98bd52ffffde6e2664 /tests/runner.py | |
parent | 8c53160d51aaed62f609058e5f991524c89a3e0a (diff) |
make socket server parametrizable
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 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|. |