[cse491] figleaf shell script
Joe Amenta
amentajo at msu.edu
Mon Nov 9 15:56:45 PST 2009
Looks good... don't forget to chmod +x the script.
--Joe
On Mon, Nov 9, 2009 at 6:53 PM, Tim Miller <mille449 at msu.edu> wrote:
> So I noticed that figleaf will aggregate ALL past rest results. What this
> means is that if you had code coverage of some line at one point and then
> change your code and no longer have coverage of that line, that line WILL
> STILL BE GREEN. To fix this delete the .figleaf file in your trunk
> directory each time you run figleaf. Annoying? yes. So make a shell script
> to deal with it. Mine looks like this:
>
>
> #! /bin/bash
> rm .figleaf
> figleaf /user/ctb/install/bin/nosetests test_apps.py
> figleaf2html -d ~/web/figleaf -f figleaf_files.txt
> chmod -R a+rx ~/web/figleaf
>
> 'figleaf_files.txt' is a list of files I want displayed on the output
> webpage. Save this as a file with the extension .csh or .sh and then run
> this every time you want to run figleaf. It will automatically remove the
> old .figleaf file, create your web page, and set permissions to view it.
>
> --tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/cse491-fall-2009/attachments/20091109/b77cdbd0/attachment.htm>
More information about the cse491-fall-2009
mailing list