Don't run benchmark tests on diffs.

Reviewers: buda, dgleich

Reviewed By: buda, dgleich

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D945
This commit is contained in:
Matej Ferencevic 2017-10-30 21:06:44 +01:00
parent b39231f7df
commit 8ed95a2b33

View File

@ -144,6 +144,10 @@ for test in tests:
if name == "unit__fswatcher":
files.append(os.path.normpath(os.path.join(dirname, "..", "data")))
# skip benchmark tests on diffs
if name.startswith("benchmark") and mode == "diff":
continue
# larger timeout for benchmark tests
prefix = ""
if name.startswith("benchmark"):