Move harness stuff to parent directory

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D799
This commit is contained in:
Mislav Bradac 2017-09-15 13:23:05 +02:00
parent d640ca3f1a
commit 7e5dddecae
96 changed files with 7 additions and 7 deletions

View File

@ -8,13 +8,13 @@ DIR_PATH = os.path.dirname(os.path.realpath(__file__))
def get_absolute_path(path, base=""):
if base == "build":
extra = "../../../build"
extra = "../../build"
elif base == "build_release":
extra = "../../../build_release"
extra = "../../build_release"
elif base == "libs":
extra = "../../../libs"
extra = "../../libs"
elif base == "config":
extra = "../../../config"
extra = "../../config"
else:
extra = ""
return os.path.normpath(os.path.join(DIR_PATH, extra, path))

View File

@ -202,8 +202,8 @@ postgresql_lib_dir = os.path.join(LIBS_DIR, "postgresql", "lib")
infile = create_archive("macro_benchmark", [binary_release_path,
binary_release_link_path, macro_bench_path, config_path,
harness_client_binaries, postgresql_lib_dir], cwd = WORKSPACE_DIR)
supervisor = "./memgraph/tests/macro_benchmark/harness/harness.py"
outfile_paths = "\./memgraph/tests/macro_benchmark/harness/\.harness_summary"
supervisor = "./memgraph/tests/macro_benchmark/harness.py"
outfile_paths = "\./memgraph/tests/macro_benchmark/\.harness_summary"
RUNS.append(generate_run("macro_benchmark", supervisor = supervisor,
arguments = MACRO_BENCHMARK_ARGS, infile = infile,
outfile_paths = outfile_paths))
@ -237,7 +237,7 @@ if mode == "diff":
infile = create_archive("macro_benchmark_summary", [script_path],
cwd = WORKSPACE_DIR)
cmd = "./memgraph/tools/apollo/macro_benchmark_summary " \
"macro_benchmark/memgraph/tests/macro_benchmark/harness/.harness_summary " \
"macro_benchmark/memgraph/tests/macro_benchmark/.harness_summary " \
"macro_benchmark_parent/parent/tests/macro_benchmark/harness/.harness_summary " \
".harness_summary"
outfile_paths = "\./.harness_summary"