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

[test] Delete ChiselFreeSpec #4738

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

seldridge
Copy link
Member

Delete ChiselFreeSpec. Refactor PortsSpec to use AnyFlatSpec and FileCheck. This exposed a problem with what the test was checking, so I am opting to lock in the existing behavior.

Refactor PortSpec to use FileCheck and flat spec.  This was the only
remaining test that used `ChiselFreeSpec` which is slated to be deleted.

Fix a possible bug in the test where this was trying to check that the
automatic clock and reset ports do not have source locators.  However,
these _do_ get source locators and the original test was not actually
checking this.  Change the check to lock in the current behavior of these
get source locators.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Remove the non-load bearing ChiselFreeSpec.  Developers should use
Scalatest traits directly for their tests to make them more
self-contained.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge added the No Release Notes Exclude from release notes, consider using Internal instead label Feb 26, 2025
@seldridge seldridge merged commit 50cf67f into main Feb 26, 2025
18 checks passed
@seldridge seldridge deleted the dev/seldridge/move-tests-from-ChiselSpec-to-ChiselSim branch February 26, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Release Notes Exclude from release notes, consider using Internal instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant