-
Notifications
You must be signed in to change notification settings - Fork 842
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
Run test suites without rebuilding executables #398
Comments
I don't believe |
@snoyberg I tried this. It is equivalent to
Here I defined a duplicate |
Also, with
Not ideal, but does the trick. I don't think there's a way to do the same with
|
I confirmed that in fact it was not working previously. I've just pushed a commit that should address it. Can you give it a shot? |
👍 Works great. Thanks! Only the first test suite:
Only the second:
And both:
|
Cool, thanks for reporting and confirming! |
Running
stack test
also builds all executables. Usingfast-tags
package as an example :I can simulate the desired behavior by defining a
testonly
flag and marking all executables withif flag(testonly) buildable: False
. With executables:And without:
These are incremental, not clean, builds. Skipping executables makes running tests slightly faster. This is particularly useful when there are many executables and only a single test-suite.
The text was updated successfully, but these errors were encountered: