Skip to content

Conversation

zingo
Copy link
Collaborator

@zingo zingo commented Jun 30, 2025

Summary

If the elf for running pytest with Corstone FVP exists pytests will pick it up and run with it. This change make sure to remove the elf for the FVP tests if it exists in the none FVP tests before running the tests. As it is (already) build in the FVP versions of the tests, this fix a problem that if you run the test after each other the non FVP tests could find the elf and run on the FVP even if it was not supposed to.

Test plan

GitHub and local verification.

cc @digantdesai @freddan80 @per @oscarandersson8218

Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
Change-Id: Id94e690361f08c97428c886c51b086582c2b516d
@zingo zingo requested a review from digantdesai as a code owner June 30, 2025 11:49
Copy link

pytorch-bot bot commented Jun 30, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12108

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 956cc41 with merge base 5d2193f (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 30, 2025
@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Jun 30, 2025
@oscarandersson8218 oscarandersson8218 merged commit 17650c2 into pytorch:main Jul 1, 2025
195 of 198 checks passed
Tanish2101 pushed a commit to Tanish2101/executorch that referenced this pull request Jul 9, 2025
…VP (pytorch#12108)

### Summary
If the elf for running pytest with Corstone FVP exists pytests will pick
it up and run with it. This change make sure to remove the elf for the
FVP tests if it exists in the none FVP tests before running the tests.
As it is (already) build in the FVP versions of the tests, this fix a
problem that if you run the test after each other the non FVP tests
could find the elf and run on the FVP even if it was not supposed to.

### Test plan
GitHub and local verification.

cc @digantdesai @freddan80 @per @oscarandersson8218

Signed-off-by: Zingo Andersen <zingo.andersen@arm.com>
@zingo zingo deleted the Arm-backend-Make-sure-we-tests-correctly-with-and-without-Corstone-FVP branch August 8, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants