Skip to content

Commit 89c4a14

Browse files
author
marcpalmer
committed
Fix for GRAILS-1104 and temporary hack to get some error reporting working.
git-svn-id: https://svn.codehaus.org/grails/trunk@4134 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent e4ae9de commit 89c4a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/TestApp.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ task(runGrailsTests:"Runs Grails' tests under the grails-test directory") {
124124
suite.runTest(test, thisTest)
125125
if(thisTest.errorCount() > 0 || thisTest.failureCount() > 0) {
126126
println "FAILURE"
127-
thisTest.errors().each { result.addError(test, it) }
128-
thisTest.failures().each { result.addFailure(test, it.thrownException()) }
127+
thisTest.errors().each { result.addError(test, it.thrownException()); println it }
128+
thisTest.failures().each { result.addFailure(test, it.thrownException()); println it }
129129
}
130130
else { println "SUCCESS"}
131131
app.domainClasses.each { dc ->

0 commit comments

Comments
 (0)