With Peter's help, I can now run just the single test class that this test belongs to, and do it with full stack trace. I can only run the tests from my personal home machine, so I'll posted them when I get a chance.
There is a huge stack trace that I probably should have attached (I'll attach it tonight), but it fails on the first of the several executer calls within the canDefineJavaHomeViaEnvironmentVariable test method. It rather looks like the process executor for the Developer IntegrationTests is different than what is used by the rest of gradle. -Spencer --- On Sun, 5/1/11, Adam Murdoch <[email protected]> wrote: > * What went wrong: > Execution failed for task ':checkJavaHome'. > Cause: Assertion failed: > > assert Jvm.current().javaHome == file(expectedJavaHome) > | | | | | > | | | | C:\Java\jdk1.6.0_21 > | | | C:\Java\jdk1.6.0_21 > | | false > | C:\Program Files\Java\jre6 > 1.6.0_21 (Sun Microsystems Inc. 17.0-b17) Do you have a stack trace for this failure, so we can see where in the test method it failed? The test runs Gradle a few times.
