daca2: fix compilation of cppcheck
This commit is contained in:
parent
9f41fcfbcb
commit
a5149d68ab
|
@ -45,8 +45,8 @@ def daca2(foldernum):
|
|||
rev = rev[:rev.find('\n')]
|
||||
|
||||
# compile cppcheck
|
||||
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(['nice', 'make', 'SRCDIR=build', 'CFGDIR=' + os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-g -O2', 'CPPFLAGS=-DMAXTIME=600'])
|
||||
subprocess.call(['cp', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
|
||||
|
||||
# run cppcheck
|
||||
subprocess.call(['rm', '-rf', os.path.expanduser('~/daca2/' + folder)])
|
||||
|
|
Loading…
Reference in New Issue