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 43BF910F70 for ; Tue, 23 Jul 2013 04:52:54 +0000 (UTC) Received: (qmail 73516 invoked by uid 500); 23 Jul 2013 04:52:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 73472 invoked by uid 500); 23 Jul 2013 04:52:53 -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 Received: (qmail 73457 invoked by uid 500); 23 Jul 2013 04:52:53 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 73453 invoked by uid 99); 23 Jul 2013 04:52:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 04:52:53 +0000 Date: Tue, 23 Jul 2013 04:52:53 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4907) Allow additional tests cases to be specified with -Dtestcase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716049#comment-13716049 ] Gunther Hagleitner commented on HIVE-4907: ------------------------------------------ I like it. There are situations when you want to say something like: ant test -D testcase=TestCliDriver,TestMinimrCliDriver -Dqfile_regex="smb_.*" to run all smb tests in both testcases. I would just apply the qfile, qfile_regex filter to all testcases in the list. Also, I think comma separated testcase is nicer than adding classes with additional.testcases, isn't it? The missing piece is to either ignore qfiles that don't exist or only ignore them when multiple tests are specified. I don't think that would be that bad, for instance: I believe we already ignore testcases when they don't exist without failure and if qfile_regex doesn't match anything we don't complain either. > Allow additional tests cases to be specified with -Dtestcase > ------------------------------------------------------------ > > Key: HIVE-4907 > URL: https://issues.apache.org/jira/browse/HIVE-4907 > Project: Hive > Issue Type: Improvement > Components: Testing Infrastructure > Reporter: Brock Noland > Assignee: Brock Noland > Attachments: HIVE-4907.patch > > > Currently we only allow a single tests case to be specified with -Dtestcase. It'd be ideal if we could add on additional test cases as this would allow us to batch the unit tests in ptest2. -- 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