Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion [CAGE] Test Valid and Invalid Parrot Flags
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
James Keenan via RT  
View profile  
 More options Apr 8 2007, 9:37 am
Newsgroups: perl.perl6.internals
From: parrotbug-follo...@parrotcode.org (James Keenan via RT)
Date: Sun, 08 Apr 2007 06:37:58 -0700
Local: Sun, Apr 8 2007 9:37 am
Subject: [perl #42339] [CAGE] Test Valid and Invalid Parrot Flags
On Sun Apr 08 00:07:13 2007, chroma...@wgz.org 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.