summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/check.py b/check.py
index e3c7e0c15..0f06aca25 100755
--- a/check.py
+++ b/check.py
@@ -107,6 +107,8 @@ for asm in tests:
cmd += ['-O0'] # test that -O0 does nothing
else:
cmd += ['-O']
+ if 'debugInfo' in asm:
+ cmd += ['-g']
if precise and opts:
# test mem init importing
open('a.mem', 'wb').write(asm)