[GRADLE-414] gradle.home System property should not be required to run test suite Created: 24/Feb/09 Updated: 04/Jan/13 Resolved: 04/Mar/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.5.2 |
Fix Version/s: | 0.6 |
Type: | Improvement | ||
Reporter: | Neil Curzon | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Attachments: | MainTest.patch |
Description |
Gradle's build adds -Dgradle.home=roadToNowhere to the test JVM arguments for the benefit of only one test: org.gradle.MainTest . This makes running the test suite in an IDE environment more difficult. It would be better if the test set the property itself. I've attached a patch that sets the property in that test and replaces the previous value in the teardown to avoid messy static state sharing inside a test suite. |
Comments |
Comment by Adam Murdoch [ 04/Mar/09 ] |
This has been applied. Thanks for the patch. |