François" PERRAD <[EMAIL PROTECTED]> wrote:

> The line "Null PMC access in invoke()" jumps at the end after the
> backtrace, and it's unexpected.

Ah yep. Mixing stderr/stdout in tests a PITA.

> I try the following patch,

Try to insert these lines:

  PIO_flush(interpreter, PIO_STDOUT(interpreter));
  PIO_flush(interpreter, PIO_STDERR(interpreter));

which should get the Parrot's stdout/stderr to the console and then ...

>       va_start(arglist, format);
>       vfprintf(stderr, format, arglist);
>       fprintf(stderr, "\n");
> +    fflush(stderr);

flush the stderr. This still might reorder the test output, but it should
be consistent: i.e. all output so far should come before the exception
output.

> Francois Perrad

leo

Reply via email to