Code Coverage in Lisaac is here
Nicolas Boulay
nicolas.boulay at etherale.org
Sun Mar 7 13:15:47 UTC 2010
Can you create a output format like gcov ? It just copy the source
code with comment, and add a counter for each line of code.
2010/3/7 Mildred Ki'Lya <ml.mildred593 at gmail.com>:
> Just look at the report generated:
>
> http://mildred817.online.fr/temp/coverage/index.html
>
> There is still room for improvements, I agree. in the meantime it is usable.
>
> How to do that ?
>
> First, copy the hello.li source file somewhere, and compile coverage
> branch of the lisaac compiler. Then run:
>
>
> lisaac hello.li -coverage
> ./hello
>
> A file hello.cov should have been generated. To create the report, just run:
>
> tools/licoverage --help -o coverage hello.cov
>
> And there it is.
>
>
> The big problem is that the .cov file holding coverage information grows
> very big. It is 1.3MB after the compiler compilation and I stopped the
> bootstrap when it attained 480MB (no space left on device). I have to
> find a more efficient file format.
>
> The problem is that if the program loop 1000 times on a block, it will
> create 1000 identical lines in the cov files.
>
> The report generated is here:
> http://mildred817.online.fr/temp/li_coverage/index.html
>
>
>
> Mildred
>
>
> --
> Mildred Ki'Lya
> ╭───────── mildred593@online.fr ──────────
> │ Jabber, GoogleTalk: <mildred at jabber.fr>
> │ Website: <http://ki.lya.online.fr> GPG ID: 9A7D 2E2B
> │ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B
>
>
> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
>
>
More information about the Lisaac-devel
mailing list