daca2: compile with debug info, when there is exception write info on stderr
This commit is contained in:
parent
04ecbba361
commit
d0e1583f20
|
@ -167,7 +167,7 @@ def scanarchive(filepath, jobs):
|
||||||
'-D__GCC__',
|
'-D__GCC__',
|
||||||
'--enable=style',
|
'--enable=style',
|
||||||
'--error-exitcode=0',
|
'--error-exitcode=0',
|
||||||
'--exception-handling',
|
'--exception-handling=stderr',
|
||||||
jobs,
|
jobs,
|
||||||
'.'],
|
'.'],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
|
|
@ -45,7 +45,7 @@ def daca2(foldernum):
|
||||||
rev = rev[:rev.find('\n')]
|
rev = rev[:rev.find('\n')]
|
||||||
|
|
||||||
# compile cppcheck
|
# compile cppcheck
|
||||||
subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-O2', 'CPPFLAGS=-DMAXTIME=600'])
|
subprocess.call(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS="-g -O2"', 'CPPFLAGS=-DMAXTIME=600'])
|
||||||
subprocess.call(['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
|
subprocess.call(['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
|
||||||
|
|
||||||
# run cppcheck
|
# run cppcheck
|
||||||
|
|
Loading…
Reference in New Issue