Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't leave back stray library after tests #723

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

jfrimmel
Copy link
Contributor

The new test test_library_update_with_initialize introduced in #720 did use the fusesoc_libraries-directory in the repository root and, in contrast to other tests in that module, did not delete it afterwards. This causes a leftover library in the repository root after running the testsuite. This is unpleasant and a bug in the test.

This commit fixes it by cloning into the temporary directory, which was already created for just this use-case.

The new test `test_library_update_with_initialize` introduced in olofk#720
did use the `fusesoc_libraries`-directory in the repository root and, in
contrast to other tests in that module, did not delete it afterwards.
This causes a leftover library in the repository root after running the
testsuite. This is unpleasant and a bug in the test.

This commit fixes it by cloning into the temporary directory, which was
already created for just this use-case.
@olofk olofk merged commit 03d1943 into olofk:main Feb 10, 2025
12 checks passed
@olofk
Copy link
Owner

olofk commented Feb 10, 2025

That makes sense. Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants