[EMAIL PROTECTED] wrote:
> Hi all
>
> I have read the short discussion about helping with the tests.
> Now I was wondering if I can read somewhere on the octave or
> octave-forge page something about testing.
> I could not.
>
> Maybe it's helpfull (also for beginners) if somewhere on a page
> are some sentence written about 
> "how to start improving tests" or something similar. Maybe at the wiki page?
>   
Check the chapter of the manual

http://www.gnu.org/software/octave/doc/interpreter/Test-Functions.html#Test-Functions

> Now for my own interests, what exactly happens if I enter "make check" after
> compiling the octave source?
> I see running a lot of tests. I think this are the tests in the m-files
> where the lines start with %! but I'm not sure.
>   
"make check" checks all *.cc and *.m fiels in the octave source tree for 
lines starting with "%!", extracts them and passes them the the "test" 
function of Octave. Once it has done that it executes all of the 
stand-alone test scripts that are in the octave/test/*.m directory. Note 
that the stand-alone sparse test script is actually built with a shell 
script before actually being used.
> Writing tests for m-files which doesn't have them can be a good start to 
> learn how octave
> works and how some code looks like.
>
>   
I couldn't agree more.

D.

-- 
David Bateman                                [EMAIL PROTECTED]
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to