diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-14 18:28:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-14 18:28:43 -0800 |
commit | cf0bb930f5d4c4bce177c15fab28c495a41902e2 (patch) | |
tree | 2bccc94f62bd5cba90c1cf7db997d6c8bd51b85a | |
parent | 648221ee6f2a33c5df9e39c83bf27545b8d59874 (diff) |
fix browser.test_runtimelink
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index d718fcbf..4814760f 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -10036,10 +10036,10 @@ elif 'browser' in str(sys.argv): main, supp = self.setup_runtimelink_test() open(self.in_dir('supp.cpp'), 'w').write(supp) - Popen(['python', EMCC, self.in_dir('supp.cpp'), '-o', 'supp.js', '-s', 'LINKABLE=1', '-s', 'BUILD_AS_SHARED_LIB=2', '-O2', '--closure', '0']).communicate() + Popen(['python', EMCC, self.in_dir('supp.cpp'), '-o', 'supp.js', '-s', 'LINKABLE=1', '-s', 'NAMED_GLOBALS=1', '-s', 'BUILD_AS_SHARED_LIB=2', '-O2', '--closure', '0']).communicate() shutil.move(self.in_dir('supp.js'), self.in_dir('supp.so')) - self.btest(main, args=['-s', 'LINKABLE=1', '-s', 'RUNTIME_LINKED_LIBS=["supp.so"]', '-DBROWSER=1', '-O2', '--closure', '0'], expected='76') + self.btest(main, args=['-s', 'LINKABLE=1', '-s', 'NAMED_GLOBALS=1', '-s', 'RUNTIME_LINKED_LIBS=["supp.so"]', '-DBROWSER=1', '-O2', '--closure', '0'], expected='76') def test_pre_run_deps(self): # Adding a dependency in preRun will delay run |