pass extra args to a test in Apache::Test?

Mark Hedges <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <55EEF0B3C5BF2744B2248754D717EE4C28DE1CE8@USASHEXMB03.LYV.LiveNation.com>
Hi.  Is there a way to pass extra command-line arguments to a test script running in Apache::Test?

I want to do:

  t/TEST -verbose t/foobar.t --baz

And have this argument show up in @ARGV of t/foobar.t.  Is there a special trick?

Or, this would work:

  BAZ=1 t/TEST -verbose t/foobar.t

And have that show up in $ENV in t/foobar.t.

The only way I have found so far is to put files somewhere for the script to read.  That seems a little kludgy.

Any tips?  Thank you.

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.