On Sun Apr 08 00:07:13 2007, [EMAIL PROTECTED] wrote:
> When Parrot processes its command-line arguments, it detects valid and
> invalid
> flags and reports invalid flags, then exits with an exit code of 1.
> 
> I could find no tests for this feature.  They would be lovely to have.
> 

A week ago I submitted a patch which extracted the CL argument processing 
functionality 
from Configure.pl and placed it in lib/Parrot/Configure/Options.pm.  The 
purpose of the 
patch was specifically to improve the testability of the functionality in 
Configure.pl.  The 
patch also included a test file, t/configure/01-options.t, which, among other 
things, included 
a test for an invalid option.

Having heard no objection, I applied that patch to trunk this past Wednesday, 
so if you've 
been configuring and building Parrot in the past 4 days, you've been building 
with this 
version of Configure.pl.  And if you've been running 'make test', the test I 
contributed has 
been the very first test to run.

Prompted by your post, I added one additional test to that file this morning.  
Are there 
additional tests of the CL argument processing functionality you'd like to see? 
 If so, patch 
away!

Thank you very much.

kid51

Reply via email to