njit-jerse / specimin

SPECIfication MINimizer. A different kind of slicer for Java.
MIT License
0 stars 5 forks source link

Avoid clean test problem #299

Closed kelloggm closed 3 weeks ago

kelloggm commented 1 month ago

@jonathan-m-phillips maybe this is the reason that you saw a large number of "symbol not found" errors: when I ran ./gradlew clean followed by ./gradlew test, I found that it fails the first time. This is surprising (and bad) behavior from Specimin's build system.

This PR fixes that sequence of commands by explicitly naming the source sets for the test target. Similar problems might exist for other targets, but I haven't found any yet. For example, running ./gradlew clean before running the command that I mentioned in this comment doesn't cause Specimin to behave any differently.