Hi Shanyu, Are you running in /itests? The unit tests are in there, and are not run if you are running from the root.
Thanks Szehon On Mon, Jan 13, 2014 at 1:59 PM, Shanyu Zhao <[email protected]> wrote: > Hi, > > 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: > http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/827/testReport/ > ? > > I really appreciate your help! > > Shanyu >
