Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A6DB17530 for ; Tue, 28 Oct 2014 04:43:39 +0000 (UTC) Received: (qmail 37962 invoked by uid 500); 28 Oct 2014 04:43:38 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 37890 invoked by uid 500); 28 Oct 2014 04:43:38 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Delivered-To: moderator for dev@hive.apache.org Received: (qmail 28636 invoked by uid 99); 28 Oct 2014 03:24:24 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gwang@pivotal.io designates 209.85.213.50 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=9vXxRbzA4FRJx9nwq29SK+Cdg7YaYTZfY24X49FIE+w=; b=AayrlGTtM6dwksEh36CC05ogf8c0aV+oaZkDkpde1Lgat5/Arg9DtJg/GGcq1w4RWe HCh0CdH6UhnPpjVBTepRyznbjj6oGVfOLMztaEz6B1tea+0X/TviQqGVHJ+jg+BQ3VWz avWr7QNIInqTtXtGRh1yU/hPtOnwnbfXGwBQUXj2QEhfFpRhCn03hrOT61aRHQG3KjnX 9CMNITlrlOhkfTy8HdMvKINY/EBXTKPTnccRuqdl8zmoHPE/05kWyyTiGbpJiR/+5FB1 uA5hGSkVbZDo3JNks4jjU8cGvKP6sjzALa73FVL1D2s6rLA6S3IJpnsMLrUHRy+7z24Y ik1Q== X-Gm-Message-State: ALoCoQlEZ3HV4J6/vvYLYt+CBwdHcuS6oZDtQDIkPdG0QwKy78BKw4trXZTqMcyx5NBUnsngLToL X-Received: by 10.236.70.70 with SMTP id o46mr469342yhd.94.1414466592729; Mon, 27 Oct 2014 20:23:12 -0700 (PDT) MIME-Version: 1.0 From: Gordon Wang Date: Tue, 28 Oct 2014 11:22:52 +0800 Message-ID: Subject: How to run TestCliDriver Unit Test To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=089e01634ba0ce834d0506732a6c X-Virus-Checked: Checked by ClamAV on apache.org --089e01634ba0ce834d0506732a6c Content-Type: text/plain; charset=UTF-8 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 --089e01634ba0ce834d0506732a6c--