Skip to content

Commit

Permalink
Delete legacy test code (#3829)
Browse files Browse the repository at this point in the history
Summary:
Change-Id: Id8c62d2c598d06a39c778dc3849625bd49aedc0d

Pull Request resolved: #3829

Reviewed By: mergennachin

Differential Revision: D58138120

Pulled By: digantdesai

fbshipit-source-id: ec9791db649524cc7cdb447554d774169c660ac7
  • Loading branch information
Erik-Lundell authored and facebook-github-bot committed Jun 7, 2024
1 parent fce208c commit c18cea7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 522 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ jobs:
install_arm
# Test tosa_reference flow
PYTHON_EXECUTABLE=python bash backends/arm/test/run_tosa_reference.sh
# Run arm unit tests
pytest -c /dev/null -v -n auto --cov=./ --cov-report=xml backends/arm/test
test-coreml-delegate:
name: test-coreml-delegate
Expand Down
6 changes: 2 additions & 4 deletions backends/arm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,15 @@ Other:
- `test/` - Unit test and test support functions

## Unit tests
We're currently transitioning to use the generic Tester class.
This is the structure of the test directory

```
test # Root test folder
├── models # Full model tests
├── ops # Single op tests
├── tester # Arm Tester class
├── tosautil # Utility functions for TOSA artifacts
├ arm_tosa_reference.py # Legacy test runner. Keep until all tests are ported to new test structure.
├ test_models.py # Legacy test definitions. Port these tests to new test structure.
├ test_tosa.py # Legacy unit test. Keep until tests are ported to new test structure.
├ common.py # Common functions and definitions used by many tests
```

Some example commands to run these tests follow. Run a single test:
Expand Down
322 changes: 0 additions & 322 deletions backends/arm/test/arm_tosa_reference.py

This file was deleted.

11 changes: 0 additions & 11 deletions backends/arm/test/run_tosa_reference.sh

This file was deleted.

Loading

0 comments on commit c18cea7

Please sign in to comment.