Re: [gradle-dev] Add Args to RunTestExecutable for Native Test

2014-06-29 Thread Daniel Lacasse
I think option #2 is the best in term of code duplication. I will then extract the required implementation into an abstract class - org.gradle.api.tasks.AbstractExecTask which follow the same idea of the current AbstractCopyTask. I will move forward with this. On Sun, Jun 29, 2014 at 7:41 PM, Ad

Re: [gradle-dev] Add Args to RunTestExecutable for Native Test

2014-06-29 Thread Adam Murdoch
On 30 Jun 2014, at 1:46 am, Daniel Lacasse wrote: > Should we have RunTestExecutable implement ExecSpec? > > Following the next story at: > https://github.com/gradle/gradle/blob/master/design-docs/testing-for-native-runtime.md, > I had some thinking about the design. > > We would probably wa

[gradle-dev] Add Args to RunTestExecutable for Native Test

2014-06-29 Thread Daniel Lacasse
Should we have RunTestExecutable implement ExecSpec? Following the next story at: https://github.com/gradle/gradle/blob/master/design-docs/testing-for-native-runtime.md, I had some thinking about the design. We would probably want to sync up later with Test from Java with the implementation of th