[ 
https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496960#comment-13496960
 ] 

Bing Li commented on HIVE-3571:
-------------------------------

Based on current build scripts, it will prepare all the test classes and jars, 
even if only one test case needed to run.

I think we can add a new option named -Dmodule= , the command could be like
ant test -Dmodule=ql -Dtestcase=TestCliDriver -Dqfile=union.q

With this option, it only needs to generate/compile necessary files.

Does it make sense?
                
> add a way to run a small unit quickly
> -------------------------------------
>
>                 Key: HIVE-3571
>                 URL: https://issues.apache.org/jira/browse/HIVE-3571
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Namit Jain
>         Attachments: HIVE-3571.1.patch.txt
>
>
> A simple unit test:
> ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q
> takes a long time.
> There should be a quick way to achieve that for debugging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to