Increase cppcheck timeout

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1046
This commit is contained in:
Matej Ferencevic 2017-12-12 11:04:46 +01:00
parent 52a9be3cc8
commit dae79413bf

View File

@ -119,7 +119,7 @@ check_dirs = list(map(lambda x: os.path.join(BASE_DIR, x), ["src", "tests",
archive = create_archive("cppcheck", check_dirs, WORKSPACE_DIR)
cmd = os.path.relpath(cppcheck, WORKSPACE_DIR)
outfile_paths = "\./" + cmd.replace("cppcheck", ".cppcheck_errors").replace(".", "\\.")
RUNS.append(generate_run("cppcheck", commands = 'TIMEOUT=1000 ./{} {}'.format(cmd, mode),
RUNS.append(generate_run("cppcheck", commands = 'TIMEOUT=2400 ./{} {}'.format(cmd, mode),
infile = archive, outfile_paths = outfile_paths))
# TODO: Refactor apollo/generate to be a config file which specifies how