diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-29 15:33:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:41:30 -0700 |
commit | b30b302fe1d69e8b398a2e834eaa1330fc3ecc89 (patch) | |
tree | 461ea7cf0983e6381dca9012a761097cc3eff497 /tests | |
parent | 23cb9559ff4549e133242018abc37680d4e2badd (diff) |
fix non-asm dlfcn setup code
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index ea88520c..5a2bc65a 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -5604,6 +5604,7 @@ The current type of b is: 9 Settings.SIDE_MODULE = 1 else: Settings.BUILD_AS_SHARED_LIB = 1 + Settings.INCLUDE_FULL_LIBRARY = 0 def prep_dlfcn_main(self): if Settings.ASM_JS: @@ -5611,6 +5612,7 @@ The current type of b is: 9 Settings.SIDE_MODULE = 0 else: Settings.BUILD_AS_SHARED_LIB = 0 + Settings.INCLUDE_FULL_LIBRARY = 1 def test_dlfcn_basic(self): if not self.can_dlfcn(): return @@ -6105,7 +6107,6 @@ def process(filename): self.build(lib_src, dirname, filename) shutil.move(filename + '.o.js', os.path.join(dirname, 'liblib.so')) - Settings.INCLUDE_FULL_LIBRARY = 1 self.prep_dlfcn_main() src = ''' #include <assert.h> |