HOWTO give options to parrot in tests

2006-09-14 Thread Karl Forner
Hi, I'm currently trying to implement [#40064: [TODO] shootout example testing]. Because the PIR shootout scripts are run with specific options, I must be able to run the script with these options that I can get by parsing the she-bang line. But by looking in other tests and in the Parrot::Test

Re: HOWTO give options to parrot in tests

2006-09-15 Thread Leopold Toetsch
Am Freitag, 15. September 2006 01:42 schrieb Karl Forner: > But by looking in other tests and in the Parrot::Test, it seems that the > canonical way > of running a PIR script is through the example_output_is() function. > BUT this function does not take any arguments for Parrot. I'd subclass Parro

Re: HOWTO give options to parrot in tests

2006-09-17 Thread Karl Forner
On 9/15/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote: Am Freitag, 15. September 2006 01:42 schrieb Karl Forner: > But by looking in other tests and in the Parrot::Test, it seems that the > canonical way > of running a PIR script is through the example_output_is() function. > BUT this function d

Re: HOWTO give options to parrot in tests

2006-09-17 Thread Leopold Toetsch
Am Sonntag, 17. September 2006 15:16 schrieb Karl Forner: > > I'd subclass Parrot::Test and create a function shootout_output_is(), > > which > > takes an extra commandline argument. > > Hmmm but if I subclass Parrot::Test, I won't be able to reuse any code. There are already Test classes: see lib