Refactor pytest config + add default dump dir option#6637
Merged
facebook-github-bot merged 1 commit intopytorch:mainfrom Nov 6, 2024
Merged
Refactor pytest config + add default dump dir option#6637facebook-github-bot merged 1 commit intopytorch:mainfrom
facebook-github-bot merged 1 commit intopytorch:mainfrom
Conversation
Introduce arm_test_options Enum to avoid having to remember string names of options. If pytest is run with --default_dump_path=<some_dir>, .dump* functions will print to a logfile in that dir. Additionally, pytest will clean up the folder so that only the 10 latest logs are saved. Signed-off-by: Erik Lundell <erik.lundell@arm.com> Change-Id: I932489cf08986ae820e74cd865489ef5561a6444
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6637
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0f667c0 with merge base c045c35 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
digantdesai
approved these changes
Nov 5, 2024
Comment on lines
40
to
41
| parser.addoption("--arm_quantize_io", action="store_true") | ||
| parser.addoption("--arm_run_corstone300", action="store_true") |
Contributor
|
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce arm_test_options Enum to avoid having to remember string names of options.
If pytest is run with --default_dump_path=<some_dir>, .dump* functions will print to a logfile in that dir.
Additionally, pytest will clean up the folder so that only the 10 latest logs are saved.
Change-Id: I932489cf08986ae820e74cd865489ef5561a6444