Skip to content

Commit a7ba28f

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Fix test_end2end.py
Summary: 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: 8c8a3e579d25e3af758d0c4f0034247aae712660
1 parent 60df0c2 commit a7ba28f

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)