Show all warnings and errors

Duncan Mak duncanmak@gmail.com
Tue Jan 1 21:16:00 GMT 2019


Hmm, my test runner is just an scm file that loads in a few files.

It first loads in a file with some R7RS module definitions, and then I
load in some test files.

Each of my test files look something like this:

https://gist.github.com/duncanmak/03147dad1cd1697ca9ac3c2a7ee5ca8f

I'm using SRFI 64 (ha! i just realized that's one of your SRFIs!),
maybe I need to write more code to explicitly instantiate a test
runner?

On Tue, Jan 1, 2019 at 3:58 PM Per Bothner <per@bothner.com> wrote:
>
> On 1/1/19 12:47 PM, Duncan Mak wrote:
> > I tried out the --max-error=NNN option and it doesn't seem to have
> > changed how the output comes out.
> >
> > Here's what I see:
> > https://gist.github.com/duncanmak/38f451c9f26ba0000be38d0bd304313b
>
> I'm guessing the --max-errors flag isn't being passed down to your test-runner?
>
> You could try a adding:
>
>      new Error("skipping tests max:"+gnu.expr.Compilation.maxErrors()).printStackTrace();
>
> in the place in SourcesMessages.java where the "skipped " message is printed.
>
> I assume this is all in the same kawa run on a single JVM instance?  If not you have to pass
> the -max-errors flag to the inferior kawa.
> --
>         --Per Bothner
> per@bothner.com   http://per.bothner.com/



-- 
Duncan.



More information about the Kawa mailing list