diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 16:38:50 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-01 16:38:50 -0700 |
commit | 328e02c33d4f59d6beb8212030460fec1c3db230 (patch) | |
tree | 1d3ff65be3175ba4b1f7d205ed5698e1f1becba8 /tests | |
parent | 6c8ac389060b685dec87faade39841c2799c4d0a (diff) |
websockets test notes and tweaks
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 7b318412..e00ab4f9 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8708,6 +8708,7 @@ elif 'browser' in str(sys.argv): print '[Websockify on processes %s]' % str(self.pids[-2:]) def __exit__(self, *args, **kwargs): + time.sleep(2) # let things quit import signal for pid in self.pids: #os.kill(pid, signal.SIGTERM) # With this commented, we leave no children, but we hang the test harness on exit XXX @@ -8725,7 +8726,7 @@ elif 'browser' in str(sys.argv): with self.WebsockHarness(8990, server_func): with self.WebsockHarness(8995, no_server=True): Popen(['python', EMCC, path_from_root('tests', 'websockets_bi_side.c'), '-o', 'side.html']).communicate() - self.btest('websockets_bi.c', expected='2499') + self.btest('websockets_bi.c', expected='2499') # XXX result is incorrect elif 'benchmark' in str(sys.argv): # Benchmarks. Run them with argument |benchmark|. To run a specific test, do |