-
Notifications
You must be signed in to change notification settings - Fork 647
Add runpath option to UnitTests main #5125
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
Conversation
|
@jackkoenig Can we somehow waive the binary compatibility check? This touches APIs that have only seen experimental use so far an shouldn't break any real-world code. |
| try { | ||
| url.openConnection.setDefaultUseCaches(false) | ||
| } catch { | ||
| case e: IOException => // just ignore these |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taken verbatim from scalatest. I think they just do this on a best-effort basis. Like everything in scalatest.
114c193 to
42b7f41
Compare
|
How can I merge this ignoring the binary compatibility check? |
You need to add waivers here: Line 63 in 3499961
Of the style: There might be a way to waive all types of problems with one ProblemFilter, I'm not sure You can test this with: |
|
Oh nice, thanks a lot! 🎖️ |
Add a `-R` option to the `chisel3.UnitTests` main class which mirrors the same option in scalatest's runner. This option allows the user to supply a reduced classpath to be searched for Chisel unit test classes. This allows discovery to be much faster in larger projects with many dependencies, since the classpath contains all dependencies, but the runpath can be limited to discover only test of the current project.
42b7f41 to
89c868a
Compare
Add a
-Roption to thechisel3.UnitTestsmain class which mirrors the same option in scalatest's runner. This option allows the user to supply a reduced classpath to be searched for Chisel unit test classes. This allows discovery to be much faster in larger projects with many dependencies, since the classpath contains all dependencies, but the runpath can be limited to discover only test of the current project.Type of Improvement
Desired Merge Strategy
Release Notes
Reviewer Checklist (only modified by reviewer)
3.6.x,5.x, or6.xdepending on impact, API modification or big change:7.0)?Enable auto-merge (squash)and clean up the commit message.Create a merge commit.