diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-03-18 12:25:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-03-18 12:25:55 -0700 |
commit | 5cd4da6dee62390975cd589498ecca381bfe6cbb (patch) | |
tree | e6adf43ba92d9a7b51497e1d31b4ffd33dd35ad6 /tests | |
parent | 9158e9917ea4f6e9a74eccaf667ce3e315d2033d (diff) |
comment on webrtc test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_sockets.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_sockets.py b/tests/test_sockets.py index 26859699..8c2889df 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -403,8 +403,9 @@ class sockets(BrowserCore): Popen([PYTHON, EMCC, temp_host_filepath, '-o', host_outfile] + ['-s', 'GL_TESTING=1', '--pre-js', 'host_pre.js', '-s', 'SOCKET_WEBRTC=1', '-s', 'SOCKET_DEBUG=1']).communicate() Popen([PYTHON, EMCC, temp_peer_filepath, '-o', peer_outfile] + ['-s', 'GL_TESTING=1', '--pre-js', 'peer_pre.js', '-s', 'SOCKET_WEBRTC=1', '-s', 'SOCKET_DEBUG=1']).communicate() - Popen(['npm', 'install', path_from_root('tests', 'sockets', 'p2p')]).communicate(); - broker = Popen(listify(NODE_JS) + [path_from_root('tests', 'sockets', 'p2p', 'broker', 'p2p-broker.js')]); + # note: you may need to run this manually yourself, if npm is not in the path, or if you need a version that is not in the path + Popen(['npm', 'install', path_from_root('tests', 'sockets', 'p2p')]).communicate() + broker = Popen(listify(NODE_JS) + [path_from_root('tests', 'sockets', 'p2p', 'broker', 'p2p-broker.js')]) expected = '1' self.run_browser(host_outfile, '.', ['/report_result?' + e for e in expected]) |