aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runner.py2
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>