Skip to content

Commit 0cb0a45

Browse files
committed
Enabling ort and tflite integration tests
1 parent 6b95b03 commit 0cb0a45

File tree

1 file changed

+56
-56
lines changed
  • tests/integration_test

1 file changed

+56
-56
lines changed

tests/integration_test/BUILD

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
# cc_test(
2-
# name = "test_ort",
3-
# srcs = [
4-
# "test_ort.cpp"
5-
# ],
6-
# includes = [
7-
# "include",
8-
# "framework/include"
9-
# ],
10-
# deps = [
11-
# "//:corevx",
12-
# "@googletest//:gtest_main",
13-
# "//targets/c_model:imported_openvx_c_model",
14-
# "//targets/debug:imported_openvx_debug",
15-
# "//targets/extras:imported_openvx_extras",
16-
# "//targets/opencl:imported_openvx_opencl",
17-
# "//targets/onnxRT:imported_openvx_onnxRT",
18-
# ],
19-
# linkopts = select({
20-
# "@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
21-
# "@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
22-
# "//conditions:default": [],
23-
# }),
24-
# data = [
25-
# "//tests/raw:models",
26-
# ],
27-
# size = "small"
28-
# )
1+
cc_test(
2+
name = "test_ort",
3+
srcs = [
4+
"test_ort.cpp"
5+
],
6+
includes = [
7+
"include",
8+
"framework/include"
9+
],
10+
deps = [
11+
"//:corevx",
12+
"@googletest//:gtest_main",
13+
"//targets/c_model:imported_openvx_c_model",
14+
"//targets/debug:imported_openvx_debug",
15+
"//targets/extras:imported_openvx_extras",
16+
"//targets/opencl:imported_openvx_opencl",
17+
"//targets/onnxRT:imported_openvx_onnxRT",
18+
],
19+
linkopts = select({
20+
"@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
21+
"@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
22+
"//conditions:default": [],
23+
}),
24+
data = [
25+
"//tests/raw:models",
26+
],
27+
size = "small"
28+
)
2929

30-
# cc_test(
31-
# name = "test_tflite",
32-
# srcs = [
33-
# "test_tflite.cpp"
34-
# ],
35-
# includes = [
36-
# "include",
37-
# "framework/include"
38-
# ],
39-
# deps = [
40-
# "//:corevx",
41-
# "@googletest//:gtest_main",
42-
# "//targets/c_model:imported_openvx_c_model",
43-
# "//targets/debug:imported_openvx_debug",
44-
# "//targets/extras:imported_openvx_extras",
45-
# "//targets/opencl:imported_openvx_opencl",
46-
# "//targets/liteRT:imported_openvx_liteRT",
47-
# ],
48-
# linkopts = select({
49-
# "@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
50-
# "@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
51-
# "//conditions:default": [],
52-
# }),
53-
# data = [
54-
# "//tests/raw:models",
55-
# ],
56-
# size = "small"
57-
# )
30+
cc_test(
31+
name = "test_tflite",
32+
srcs = [
33+
"test_tflite.cpp"
34+
],
35+
includes = [
36+
"include",
37+
"framework/include"
38+
],
39+
deps = [
40+
"//:corevx",
41+
"@googletest//:gtest_main",
42+
"//targets/c_model:imported_openvx_c_model",
43+
"//targets/debug:imported_openvx_debug",
44+
"//targets/extras:imported_openvx_extras",
45+
"//targets/opencl:imported_openvx_opencl",
46+
"//targets/liteRT:imported_openvx_liteRT",
47+
],
48+
linkopts = select({
49+
"@platforms//os:linux": ["-Wl,-rpath,$ORIGIN"],
50+
"@platforms//os:macos": ["-Wl,-rpath,@executable_path"],
51+
"//conditions:default": [],
52+
}),
53+
data = [
54+
"//tests/raw:models",
55+
],
56+
size = "small"
57+
)

0 commit comments

Comments
 (0)