aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runner.py2
-rw-r--r--tests/sockets/test_sockets_bi.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index dbf7cb4f..6734c7e6 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -13998,7 +13998,7 @@ Press any key to continue.'''
with self.WebsockHarness(6992, self.make_relay_server(6992, 6994)):
with self.WebsockHarness(6994, no_server=True):
Popen([PYTHON, EMCC, path_from_root('tests', 'sockets/test_sockets_bi_side.c'), '-o', 'side.html', '-DSOCKK=6995', '-DTEST_DGRAM=%d' % datagram]).communicate()
- self.btest('sockets/test_sockets_bi.c', expected='2499', args=['-DSOCKK=6993', '-DTEST_DGRAM=%d' % datagram, '-DTEST_FILE_OPS=%s' % fileops, '-DEMBED_SIDE'])
+ self.btest('sockets/test_sockets_bi.c', expected='2499', args=['-DSOCKK=6993', '-DTEST_DGRAM=%d' % datagram, '-DTEST_FILE_OPS=%s' % fileops])
finally:
self.clean_pids()
diff --git a/tests/sockets/test_sockets_bi.c b/tests/sockets/test_sockets_bi.c
index e19f7fe8..4266d20c 100644
--- a/tests/sockets/test_sockets_bi.c
+++ b/tests/sockets/test_sockets_bi.c
@@ -124,13 +124,11 @@ int main() {
}
#if EMSCRIPTEN
-#if EMBED_SIDE
emscripten_run_script("console.log('adding iframe');"
"var iframe = document.createElement('iframe');"
"iframe.src = 'side.html';"
"document.body.appendChild(iframe);"
"console.log('added.');");
-#endif
emscripten_set_main_loop(iter, 0, 0);
#else
while (1) iter(NULL);