[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: Text File 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.

Generated at Wed Jun 30 11:29:30 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.