diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-30 08:37:21 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-30 08:37:21 -0700 |
commit | 530e64611c4aaec88ee0c072d5f4ac5ecdedf057 (patch) | |
tree | b766ed81eeae0c1cb84d9a368301f44254bd7403 | |
parent | 70f2d8aba7cb8f5c4bb1e7084eefcab5c9c832d3 (diff) |
tweak caching test sizes
-rwxr-xr-x | tests/runner.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index a765d357..ecbb7794 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8113,9 +8113,10 @@ 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 > 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++' + print os.stat(os.path.join(EMCC_CACHE, libname + '.bc')).st_size, os.stat(basebc_name).st_size, os.stat(dcebc_name).st_size + assert os.stat(os.path.join(EMCC_CACHE, libname + '.bc')).st_size > 2000000, 'libc++ is big' + assert os.stat(basebc_name).st_size > 2000000, 'libc++ is indeed big' + assert os.stat(dcebc_name).st_size < 1000000, 'Dead code elimination must remove most of libc++' finally: if emcc_debug: os.environ['EMCC_DEBUG'] = emcc_debug |