Skip to content

Commit

Permalink
don’t exit if not forking
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed Nov 12, 2013
1 parent 0056c18 commit 534b0f3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/_GrailsTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,13 @@ target(allTests: "Runs the project's tests.") {
forkedTestRunner.configure(grailsSettings.forkSettings.test)
}
exitCode = forkedTestRunner.fork(argsMap)?.waitFor()

if(exitCode != null) {
exit(exitCode)
}
}
else {
exitCode = projectTestRunner.runAllTests(argsMap) ? 0 : 1
}
if(exitCode != null) {
exit(exitCode)
}
}

/**
Expand Down

0 comments on commit 534b0f3

Please sign in to comment.