[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recursively test mfiles in a directory
From: |
FW |
Subject: |
Re: Recursively test mfiles in a directory |
Date: |
Wed, 7 Apr 2010 20:10:34 -0700 |
> I checked in this change:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/3b77db443cc0
>
> With it, you can do something like
>
> octave:45> runtests polynomial
> Processing files in /home/jwe/src/octave/scripts/polynomial:
>
> compan.m ............................................... PASS 6/6
> conv.m ................................................. PASS 6/6
Nice and thanks!
>
> It seems useful to me for users to be able to run the tests for the
> script files installed in a given directory. If this is not the
> functionality that the OP had in mind, then please explain what it is
> you are looking for.
My idea is that if I am working on a large-ish project (like
population forecasting for the USA), I like to have a nightly cronjob
test everything; it is the next best thing to a daily compile check/
build farm thing.
I wasn't using it for Octave packages per se, just my own projects.
Since I have nested hierarchies in a modeling project, I want the
recursive thing.
Thanks again JWE and Co!
--
Asking a question on a newsgroup? Read this first:
http://www.catb.org/~esr/faqs/smart-questions.html