hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu, Cheng A" <cheng.a...@intel.com>
Subject RE: How to run TestCliDriver Unit Test
Date Wed, 29 Oct 2014 01:23:21 GMT
Please refer to https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIupdatetheoutputofaCliDrivertestcase?

From: Gordon Wang [mailto:gwang@pivotal.io]
Sent: Tuesday, October 28, 2014 11:41 AM
To: user
Cc: Gordon Wang
Subject: Fwd: How to run TestCliDriver Unit Test

+ hive user group. :)

---------- Forwarded message ----------
From: Gordon Wang <gwang@pivotal.io<mailto:gwang@pivotal.io>>
Date: Tue, Oct 28, 2014 at 11:22 AM
Subject: How to run TestCliDriver Unit Test
To: dev@hive.apache.org<mailto:dev@hive.apache.org>

Hi all,

I am working on a hive issue and I want to add a Unit test for hive query parser.

Before hive 0.13, it is built with ant. And the query parser test cases were ran with TestCliDriver.

In current trunk, hive is built with maven. Could you give me some guide about how to run
TestCliDriver unit test?

I tried " mvn clean test -Phadoop-2  -Dtest=TestCliDriver", but it didn't work. Seems that
TestCliDriver.java is not genrated yet.

Many thanks.

--
Regards
Gordon Wang



--
Regards
Gordon Wang
Mime
View raw message