diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-06 18:15:29 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-06 18:15:29 -0800 |
commit | e67317ef6b8674f4520f5778a485be611e5cf9cd (patch) | |
tree | 5cf7f61f408c5573107bcef5e0b491c012668a3d | |
parent | 7ce440949bcad67bdefe940c3c2aa6af9d35403d (diff) |
fix test_debug
-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 3c95bb18..9e809cfd 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -6714,6 +6714,8 @@ def process(filename): assert 'Too many corrections' in str(e), str(e) def test_debug(self): + if '-g' not in Building.COMPILER_TEST_OPTS: Building.COMPILER_TEST_OPTS.append('-g') + src = ''' #include <stdio.h> #include <assert.h> |