You probably needs "cd itests" in the middle of your two steps.
On Mon, Jan 13, 2014 at 1:59 PM, Shanyu Zhao <[EMAIL PROTECTED]> wrote:
> I was trying to build hive trunk, run all unit tests and generate reports,
> but I'm not sure what's the correct command line. I was using:
> mvn clean install -Phadoop-2 -DskipTests
> mvn test surefire-report:report -Phadoop-2
> But the reports in the root folder and several other projects (such as
> metastore) are empty with no test results. And I couldn't find a summary
> page for all unit tests.
> I was trying to avoid "mvn site" because it seems to take forever to
> finish. Am I using the correct commands? How can I get a report like the
> one in the precommit report:
> I really appreciate your help!