diff options
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 6991735e..bf3bf119 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -4870,6 +4870,8 @@ def process(filename): # print opt, "FAIL" def test_lua(self): + if self.emcc_args is None and Building.LLVM_OPTS: return self.skip('llvm 3.1 and safe llvm opts break lua') + try: os.environ['EMCC_LEAVE_INPUTS_RAW'] = '1' @@ -8041,8 +8043,8 @@ elif 'sanity' in str(sys.argv): assert os.path.exists(EMCC_CACHE) assert os.path.exists(os.path.join(EMCC_CACHE, libname + '.bc')) if libname == 'libcxx': - assert os.stat(os.path.join(EMCC_CACHE, libname + '.bc')).st_size > 4000000, 'libc++ is big' - assert os.stat(basebc_name).st_size > 4000000, 'libc++ is indeed big' + assert os.stat(os.path.join(EMCC_CACHE, libname + '.bc')).st_size > 3500000, 'libc++ is big' + assert os.stat(basebc_name).st_size > 3500000, 'libc++ is indeed big' assert os.stat(dcebc_name).st_size < 2000000, 'Dead code elimination must remove most of libc++' finally: if emcc_debug: |