Skip to content

Commit 3d483d8

Browse files
committed
Move generic tests into a separate subdirectory.
1 parent 532036f commit 3d483d8

25 files changed

Lines changed: 2 additions & 2 deletions

__init__.py

Whitespace-only changes.

backends/nxp/__init__.py

Whitespace-only changes.

backends/nxp/tests/__init__.py

Whitespace-only changes.

backends/nxp/tests/generic_tests/__init__.py

Whitespace-only changes.

backends/nxp/tests/test_aot_example.py renamed to backends/nxp/tests/generic_tests/test_aot_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
def test_aot_example__mobilenet_v2():
1616
"""Test that mobilenet can be lowered to Neutron backend via `aot_neutron_compile.py` and all ops are delegated."""
1717

18-
# Find the executorch root directory (4 levels up from this test file)
19-
executorch_root = Path(__file__).parent.parent.parent.parent
18+
# Find the executorch root directory (5 levels up from this test file)
19+
executorch_root = Path(__file__).parent.parent.parent.parent.parent
2020
assert executorch_root.exists(), f"Executorch root not found at {executorch_root}"
2121

2222
# Run the compilation script as a module (like run_aot_example.sh does)
File renamed without changes.

backends/nxp/tests/test_context_sensitive_delegation.py renamed to backends/nxp/tests/generic_tests/test_context_sensitive_delegation.py

File renamed without changes.
File renamed without changes.

backends/nxp/tests/test_decompose_split_to_slices.py renamed to backends/nxp/tests/generic_tests/test_decompose_split_to_slices.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)