From a5149d68ab245b559be2910307984a3eb2d4fe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 23 Nov 2015 11:19:44 +0100 Subject: [PATCH] daca2: fix compilation of cppcheck --- tools/rundaca2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rundaca2.py b/tools/rundaca2.py index a0f0a2c82..e250565a8 100644 --- a/tools/rundaca2.py +++ b/tools/rundaca2.py @@ -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)])