diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-19 11:02:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-19 11:02:13 -0800 |
commit | b1a857715c7a89e8af1ccb2a53c6086de65fc12f (patch) | |
tree | f2dc57e0d64e7bf690d0280114158d9ebcfe4f77 /tests/runner.py | |
parent | 03d7c8e05ec1cf27a198d84cbdca74efd495e4d6 (diff) |
fix test_debug
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 2eac7e7b..9e25d2f3 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7742,6 +7742,8 @@ def process(filename): def test_debug(self): if '-g' not in Building.COMPILER_TEST_OPTS: Building.COMPILER_TEST_OPTS.append('-g') + if self.emcc_args is not None: + if '-O1' in self.emcc_args or '-O2' in self.emcc_args: return self.skip('optimizations remove LLVM debug info') src = ''' #include <stdio.h> |