Skip to content

Commit 9c8036a

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Fix test_end2end.py (#369)
Summary: Pull Request resolved: #369 A bunch of fixes including cleaning up imports, changing the style we define test methods so that they can be discovered by unittest loader, fixing small issues related to result comparing and disabling some tests that are not easy to fix. Reviewed By: Gasoonjia Differential Revision: D49328465 fbshipit-source-id: 6b796834f2d77bfdd64372b0b6f47ee39a32cb5b
1 parent 30d915a commit 9c8036a

File tree

2 files changed

+152
-123
lines changed

2 files changed

+152
-123
lines changed

test/end2end/TARGETS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ python_unittest(
3535
srcs = [
3636
"test_end2end.py",
3737
],
38+
preload_deps = ["//executorch/kernels/portable:custom_ops_generated_lib"],
3839
deps = [
3940
":exported_module",
4041
":register_scratch_meta_fns",
@@ -66,6 +67,7 @@ python_unittest(
6667
srcs = [
6768
"test_end2end.py",
6869
],
70+
preload_deps = ["//executorch/kernels/portable:custom_ops_generated_lib"],
6971
deps = [
7072
":exported_module",
7173
":register_scratch_meta_fns",

0 commit comments

Comments
 (0)