Skip to content

Commit 33ad23c

Browse files
committed
fix scripts
1 parent 88dcec6 commit 33ad23c

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

modules/core/util/src/util.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <cstdint>
66
#include <iostream>
77
#include <memory>
8+
#include <vector>
89
#endif
910

1011
#include <filesystem>

scripts/run_tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ def __source_script(script_path):
5858
print(f"Failed to source script: {script_path}")
5959
return {}
6060

61+
def setup_env(self):
62+
self.work_dir = Path(self.__get_project_path()) / "install/bin"
63+
6164
@staticmethod
6265
def __run_exec(command):
6366
result = subprocess.run(command, shell=True, env=os.environ)
@@ -130,6 +133,7 @@ def run_performance_list(self):
130133
args_dict = init_cmd_args()
131134

132135
ppc_runner = PPCRunner()
136+
ppc_runner.setup_env()
133137

134138
if args_dict["running_type"] in ["threads", "processes"]:
135139
ppc_runner.run_core()

0 commit comments

Comments
 (0)