ci: use CFGDIR flag

This commit is contained in:
Daniel Marjamäki 2013-12-28 12:17:30 +01:00
parent 9e0d7d86e9
commit a3a8edc00d
1 changed files with 1 additions and 3 deletions

View File

@ -147,11 +147,9 @@ def daca2(foldernum):
subprocess.call( subprocess.call(
['make', 'clean']) ['make', 'clean'])
subprocess.call( subprocess.call(
['nice', 'make', 'SRCDIR=build', 'CXXFLAGS=-O2', 'CPPFLAGS=-DMAXTIME=600']) ['nice', 'make', 'SRCDIR=build', 'CFGDIR='+os.path.expanduser('~/cppcheck/cfg'), 'CXXFLAGS=-O2', 'CPPFLAGS=-DMAXTIME=600'])
subprocess.call( subprocess.call(
['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')]) ['mv', 'cppcheck', os.path.expanduser('~/daca2/cppcheck-O2')])
subprocess.call(
['cp', 'cfg/std.cfg', os.path.expanduser('~/daca2/')])
subprocess.call(['python', 'tools/daca2.py', folder, '--rev=' + rev]) subprocess.call(['python', 'tools/daca2.py', folder, '--rev=' + rev])
daca2report() daca2report()