Skip to content

Commit c65d8da

Browse files
authored
NXP: Fix BUCK paths after tests moved to generic_tests/ (#19212)
### Summary A previous change moved several NXP backend test files into a new generic_tests/ subdirectory but did not update the BUCK file. As a result the following buck targets failed to build with 'File not found' errors: - executorch/backends/nxp/tests:test_batch_norm_fusion - executorch/backends/nxp/tests:test_integration - executorch/backends/nxp/tests:test_neutron_backend - executorch/backends/nxp/tests:test_qdq_clustering_conv - executorch/backends/nxp/tests:test_quantizer Update the srcs paths to point at the new generic_tests/ locations.
1 parent 0139303 commit c65d8da

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • backends/nxp/tests

backends/nxp/tests/BUCK

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fbcode_target(_kind = runtime.python_library,
3333
fbcode_target(_kind = python_pytest,
3434
name = "test_quantizer",
3535
srcs = [
36-
"test_quantizer.py",
36+
"generic_tests/test_quantizer.py",
3737
],
3838
deps = [
3939
"//executorch/backends/nxp:quantizer",
@@ -47,7 +47,7 @@ fbcode_target(_kind = python_pytest,
4747
fbcode_target(_kind = python_pytest,
4848
name = "test_neutron_backend",
4949
srcs = [
50-
"test_neutron_backend.py",
50+
"generic_tests/test_neutron_backend.py",
5151
],
5252
deps = [
5353
"//executorch/backends/nxp:neutron_backend",
@@ -69,7 +69,7 @@ fbcode_target(_kind = runtime.python_library,
6969
fbcode_target(_kind = python_pytest,
7070
name = "test_batch_norm_fusion",
7171
srcs = [
72-
"test_batch_norm_fusion.py",
72+
"generic_tests/test_batch_norm_fusion.py",
7373
],
7474
deps = [
7575
"//caffe2:torch",
@@ -84,7 +84,7 @@ fbcode_target(_kind = python_pytest,
8484
fbcode_target(_kind = python_pytest,
8585
name = "test_qdq_clustering_conv",
8686
srcs = [
87-
"test_qdq_clustering_conv.py",
87+
"generic_tests/test_qdq_clustering_conv.py",
8888
],
8989
deps = [
9090
":executorch_pipeline",
@@ -95,7 +95,7 @@ fbcode_target(_kind = python_pytest,
9595
fbcode_target(_kind = python_pytest,
9696
name = "test_integration",
9797
srcs = [
98-
"test_integration.py",
98+
"generic_tests/test_integration.py",
9999
],
100100
preload_deps = [
101101
"//executorch/kernels/quantized:custom_ops_generated_lib",

0 commit comments

Comments
 (0)