From a3a8edc00d512fa9dbe26d3f1a6e4a1abf65570f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 28 Dec 2013 12:17:30 +0100 Subject: [PATCH] ci: use CFGDIR flag --- tools/ci.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/ci.py b/tools/ci.py index 3d5cd9a4f..204f5d3e9 100644 --- a/tools/ci.py +++ b/tools/ci.py @@ -147,11 +147,9 @@ def daca2(foldernum): subprocess.call( ['make', 'clean']) 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( ['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]) daca2report()