aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-12 17:08:22 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-12 17:08:22 -0800
commita5718a10da93ea336c52574ccb1e6df1ec490086 (patch)
tree94736a48088a38e6bd2006947c7d3df7241e011b /tests/test_core.py
parentb8dc7df9a17fe5b4f7e4e5845229443a06c59fa7 (diff)
make openjpeg extra tests on EMCC_DEBUG more lenient
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 28fd3c49..66e7fb3f 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5068,7 +5068,7 @@ def process(filename):
return '\n'.join(sorted(text.split('\n')))
sizes = len(open('release.js').read()), len(open('debug%d.js' % debug).read())
print >> sys.stderr, debug, 'sizes', sizes
- assert abs(sizes[0] - sizes[1]) < 0.0001*sizes[0] # we can't check on identical output, compilation is not 100% deterministic (order of switch elements, etc.), but size should be ~identical
+ assert abs(sizes[0] - sizes[1]) < 0.001*sizes[0], sizes # we can't check on identical output, compilation is not 100% deterministic (order of switch elements, etc.), but size should be ~identical
print >> sys.stderr, 'debug check %d passed too' % debug
try: