aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Pesch <inolen@gmail.com>2013-08-07 14:13:53 -0700
committerAnthony Pesch <inolen@gmail.com>2013-08-07 20:38:55 -0700
commit816e9c5698c3b285ffc3fe3bfd68fe290dca5034 (patch)
tree80138b70f07f604ea49dc0533c70e3c45ce25f10
parent337817bf6c153f7cc2441c67dbc67ba510ed6b45 (diff)
removed unused EMBED_SIDE define
-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);