Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4782] Re: Testing

Date2004-06-01 15:23
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4782] Re: Testing
If we used Python to run tests instead of shell scripts, the test suite
could be run identically on all platforms. I think this would be a BIG help.

Original Message:
-----------------
From:  jpff@codemist.co.uk
Date: Tue,  1 Jun 2004 12:08:36 +0100
To: csound-dev@eartha.mills.edu, csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4781] Re: Testing


For a while I used the Conder tests as reversion tests.  I had a
script that ran them and then did cmp on the output and the previous
output.  Took a lot of file space and eventually I stopped as I could
not accommodate it.  In Csound5 I do not think we have got that far
yet; too many problems remain.

I usually only tested on the Linux system.  On windows and the Mac I
did spot tests only.  Again lack of file space and very slow
processors (166MHz on Windoes) .  When Csound5 gets to a goo enough
state I will resurrect as I have a new disk.

==John ffitch


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-06-01 16:59
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4783] Re: Testing
All we need is a volunteer to convert the shell script to python
then.  It is in tcsh, but uses next to nothing special
Starts...

mv Outout Old_Output
../csound -K -d 0dbfs.orc 0dbfs.sco -o 0dbfs.wav > Output
md5sum 0dbfs.wav > CheckSums
rm 0dbfs.wav
../csound -K -d abs.orc abs.sco -o abs.wav >> Output
md5sum abs.wav >> CheckSums
../csound -K -d active.orc active.sco -o active.wav >> Output
md5sum active.wav >> CheckSums

and so on until

diff Checksums SAFESums
diff Output Old_Output


==John ffitch