diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-25 14:21:22 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-25 14:21:22 -0500 |
commit | e26971d4efce418fa303499c11eb6b216f54a60f (patch) | |
tree | cdb9af5710c31799d8249b8a5f01b66953598314 /tests/runner.py | |
parent | dce4bc033cf7ae8ce4630991a7661446ecf5434e (diff) |
EMCC_FORCE_STDLIBS option
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 8410f888..46d040e1 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7130,6 +7130,14 @@ def process(filename): self.assertIdentical(clean(open('release.js').read()), clean(open('debug%d.js' % debug).read())) # EMCC_DEBUG=1 mode must not generate different code! print >> sys.stderr, 'debug check %d passed too' % debug + try: + os.environ['EMCC_FORCE_STDLIBS'] = '1' + print 'EMCC_FORCE_STDLIBS' + do_test() + finally: + del os.environ['EMCC_FORCE_STDLIBS'] + print >> sys.stderr, 'EMCC_FORCE_STDLIBS ok' + try_delete(CANONICAL_TEMP_DIR) else: print >> sys.stderr, 'not doing debug check' |