summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index b74d07ba9..52db30a24 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -21,6 +21,8 @@ for asm in sorted(os.listdir('test')):
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)