1load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest") 2 3oncall("executorch") 4 5python_unittest( 6 name = "test_edge_yaml", 7 srcs = [ 8 "test_edge_yaml.py", 9 ], 10 resources = { 11 "//executorch/exir/dialects/edge:edge_yaml": "edge.yaml", 12 }, 13 tags = ["long_running"], 14 deps = [ 15 "fbsource//third-party/pypi/expecttest:expecttest", # @manual 16 "//caffe2:torch", 17 "//executorch/exir/dialects/edge/dtype:lib", 18 "//executorch/exir/dialects/edge/spec:lib", 19 ], 20) 21 22python_unittest( 23 name = "test_edge_ops", 24 srcs = [ 25 "test_edge_ops.py", 26 ], 27 deps = [ 28 "//caffe2:torch", 29 "//executorch/exir/dialects:lib", 30 "//executorch/exir/dialects/edge:lib", 31 ], 32) 33