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: