Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 93302 invoked from network); 22 Sep 2004 23:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 23:26:19 -0000 Received: (qmail 78941 invoked by uid 500); 22 Sep 2004 23:26:18 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 78886 invoked by uid 500); 22 Sep 2004 23:26:18 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 78872 invoked by uid 99); 22 Sep 2004 23:26:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [66.77.29.165] (HELO secure.exclamationlabs.net) (66.77.29.165) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Sep 2004 16:26:18 -0700 Received: from modperlcookbook.org (pcp04036320pcs.walngs01.pa.comcast.net [68.81.212.103]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id i8MNQGX12915 for ; Wed, 22 Sep 2004 18:26:16 -0500 Message-ID: <41520A03.3020207@modperlcookbook.org> Date: Wed, 22 Sep 2004 19:25:55 -0400 From: Geoffrey Young User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: -one-process configuration option References: <4150DC71.4080303@modperlcookbook.org> <4151F537.2010900@stason.org> In-Reply-To: <4151F537.2010900@stason.org> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stas Bekman wrote: > >> + save no-httpd one-process); > > > may be it's better to use _ instead of - in the option names, so one > doesn't need to quote them in the code. -no_httpd, -one_process. It's > especially nice for -one_process, since it's the same as -DONE_PROCESS. > Consistency is good :) drat, I didn't read this in time. sorry. I suppose we can do that, but it would mean changing all of these: -no-httpd run the tests without configuring or starting httpd -one-process run the server in single process mode -run-tests run the tests -start-httpd start the test server -stop-httpd stop the test server while -no-httpd isn't that big of a deal since it's new, -run-tests, -start-httpd, and -stop-httpd might be a bigger issue. well, issue is kinda strong, but you get the idea... odd that legacy TestConfig arguments all have underscores, while TestRun arguments have dashes. maybe it's to remind you that TestConfig uses "-apxs /foo/apxs" (no equals) while TestRun uses "-debug=ddd" (equals). yet another fine example of consistency in this codebase ;) --Geoff