Skip to content

Commit ee25e2e

Browse files
committed
fix tests
1 parent 08e035c commit ee25e2e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

scripts/run_tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def __source_script(script_path):
5959
return {}
6060

6161
def setup_env(self):
62-
self.work_dir = Path(self.__get_project_path()) / "install/bin"
62+
if platform.system() == "Windows":
63+
self.work_dir = Path(self.__get_project_path()) / "install/bin"
64+
else:
65+
self.work_dir = Path(self.__get_project_path()) / "build/bin"
6366

6467
@staticmethod
6568
def __run_exec(command):

tasks/all/example/func_tests/func_all.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
#include <cstddef>
44
#include <cstdint>
55
#include <memory>
6+
#include <stb_library.hpp>
7+
#include <string>
68
#include <vector>
79

810
#include "all/example/include/ops_all.hpp"
911
#include "core/task/include/task.hpp"
1012
#include "core/util/include/util.hpp"
1113

12-
#include <stb_library.hpp>
13-
#include <string>
14-
1514
TEST(nesterov_a_test_task_all, test_matmul_50) {
1615
constexpr size_t kCount = 50;
1716

0 commit comments

Comments
 (0)