Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 87190 invoked from network); 23 Mar 2007 15:26:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 15:26:42 -0000 Received: (qmail 3659 invoked by uid 500); 23 Mar 2007 15:26:49 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 3644 invoked by uid 500); 23 Mar 2007 15:26:49 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 3633 invoked by uid 99); 23 Mar 2007 15:26:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:26:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:26:39 -0700 Received: from [10.70.3.48] ([10.70.3.48]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l2NFQIg4019570 for ; Fri, 23 Mar 2007 15:26:18 GMT Message-ID: <4603F19A.8030804@roguewave.com> Date: Fri, 23 Mar 2007 09:26:18 -0600 From: Andrew Black User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [VOTE] Re: regression test suite naming convention References: <45f99d9b.6090200@roguewave.com> <44d5c0845bc.00000619mbrown@inbox.com> <5533204.1173893049614.javamail.jira@brutus> <46015174.5060101@roguewave.com> <4602E092.2060401@roguewave.com> <4603ED76.3010508@roguewave.com> In-Reply-To: <4603ED76.3010508@roguewave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Martin Sebor wrote: > Martin Sebor wrote: >> I also like option (3) best, so sounds like the home for >> the new regression tests is unanimously in tests/regress/ >> >> The remaining question is the file name convention. Do we >> go with .stdcxx-.cpp or do >> we allow things like: >> >> ..stdcxx-.cpp >> >> e.g., 23.vector.cons.stdcxx-123.cpp >> >> FWIW, I see no reason not to allow it since it provides >> additional useful detail. > > One thing occurred to me with this convention that might be somewhat > of an issue: the file name can be quite long and might exceed the > width of the first column in the table formatted by the exec utility. > If exec strips characters that exceed the width of the column like > runall did we could either remove the "stdcxx" part of the file name > or modify exec to extend the width of the column to fit the longest > file name. Andrew, how hard do you think it would be to change exec > to do the latter? Greetings Martin. While it wouldn't be trivial to modify the exec utility to automatically calculate the width of the first column, it would be a straightforward change. Basically, prior to running the targets, you'd need to loop through the list of targets, and determine the length of the longest name. Once this value has been determined, you can use it in formatting the column width. My only concern with dropping the 'stdcxx' part of the name is there might be a desire to include regression tests from other bug tracking systems. However, we'd probably want to copy such incidents into Jira, rendering this concern moot. --Andrew Black