ci: use CFGDIR flag
This commit is contained in:
parent
9e0d7d86e9
commit
a3a8edc00d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue