[
https://issues.apache.org/jira/browse/PIG-4146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120521#comment-14120521
]
Cheolsoo Park commented on PIG-4146:
------------------------------------
I think this is a typo. "test-smoke.failed" should be "test-tez.failed".
{code}
<target name="test-tez"
depends="setTezEnv,setWindowsPath,setLinuxPath,compile-test,jar,debugger.check,jackson-pig-3039-test-download"
description="Run tez unit tests">
- <macro-test-runner test.file="${test.tez.file}" />
+ <macro-test-runner test.file="${test.tez.file}"
tests.failed="test-smoke.failed"/>
+ <fail if="test-smoke.failed">Tests failed!</fail>
</target>
{code}
Otherwise, looks good to me. +1
> Create a target to run mr and tez unit test in one shot
> -------------------------------------------------------
>
> Key: PIG-4146
> URL: https://issues.apache.org/jira/browse/PIG-4146
> Project: Pig
> Issue Type: Sub-task
> Components: tez
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.14.0
>
> Attachments: PIG-4146-1.patch, PIG-4146-2.patch
>
>
> Currently we need to run "ant test" twice (with different test.exec.type
> setting) to do Pig QE. It is desired to have a target which can do both.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)