http://forums.gradle.org/gradle/topics/gradle_1_7_rc_testreport_fails_reason_is_probaly_gradle_2702

We made some changes to the Test task for 1.7 which means that it no longer 
generates result files if there were no tests. The TestReport task is not 
sensitive to this and will explode if it tries to report on a test run where 
there were no tests. This is clearly a regression.

There is a non entirely outrageous workaround available…

task testReport(type: TestReport) {
    …
    doFirst {
        testResultDirs = testResultDirs.findAll { new File(it, 
"results.bin").exists() }
    }
}


I'm borderline on whether this needs to be fixed. At this point I'm deferring 
the decision in the hope that some other regression surfaces and forces our 
hand.

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to