closure also in zlib test for yet more coverage

This commit is contained in:
Alon Zakai 2011-12-21 18:20:53 -08:00
Родитель b289589957
Коммит 0e90a58c03
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -3867,6 +3867,9 @@ def process(filename):
post_build=post)#,build_ll_hook=self.do_autodebug)
def test_zlib(self):
if self.emcc_args is not None and '-O2' in self.emcc_args:
self.emcc_args += ['--closure', '1'] # Use closure here for some additional coverage
Settings.CORRECT_SIGNS = 1
self.do_run(open(path_from_root('tests', 'zlib', 'example.c'), 'r').read(),