Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4784] Re: Testing

Date2004-06-01 17:45
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4784] Re: Testing
Is the test script in CVS? If not, could you add it?

Original Message:
-----------------
From:  jpff@codemist.co.uk
Date: Tue,  1 Jun 2004 16:59:36 +0100
To: csound-dev@eartha.mills.edu, csound-dev@eartha.mills.edu
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


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

Date2004-06-01 19:25
Fromsteven yi
Subject[CSOUND-DEV:4785] Re: Testing
Hi all,

Since this test file requires dependent orc/sco files, I'd like to have 
this all in a separate repository than csound5. 

I'd be willing to convert the tcsh script to python 2.2 compatible 
script if everyone else is busy, as well as set up the repository in 
cvs.  If that's fine, please post the tcsh script here or email me and I 
will set that up promptly.

Thanks,
steven

gogins@pipeline.com wrote:

>Is the test script in CVS? If not, could you add it?
>
>Original Message:
>-----------------
>From:  jpff@codemist.co.uk
>Date: Tue,  1 Jun 2004 16:59:36 +0100
>To: csound-dev@eartha.mills.edu, csound-dev@eartha.mills.edu
>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
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>
>  
>

Date2004-06-01 21:12
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4786] Re: Testing
I have added a tests directory to top level with approximately the
Conder Tests and by scripts.  Tell me if I got the cvs stuff wrong
again.

==John ffitch

Date2004-06-01 21:18
Fromabez
Subject[CSOUND-DEV:4787] Re: Testing
What have the difficulties in the past been with the tests?

Have they caught many changes? 

abram

On Tue, 1 Jun 2004 jpff@codemist.co.uk wrote:

> I have added a tests directory to top level with approximately the
> Conder Tests and by scripts.  Tell me if I got the cvs stuff wrong
> again.
> 
> ==John ffitch
> 

-- 
abez ------------------------------------------
http://www.abez.ca/ Abram Hindle (abez@abez.ca)
------------------------------------------ abez

Date2004-06-01 22:04
Fromsteven yi
Subject[CSOUND-DEV:4788] Re: Testing
Hi John,

I checked out the tests directory and found some aiff and wav files, 
lots of orc/sco/mid files, and some Output from previous tests.  I found 
the runtests tcsh script but no by (py?) script.  I will work on writing 
a python script and check in as runtests.py shortly.

Thanks!
steven

jpff@codemist.co.uk wrote:

>I have added a tests directory to top level with approximately the
>Conder Tests and by scripts.  Tell me if I got the cvs stuff wrong
>again.
>
>==John ffitch
>
>
>
>  
>

Date2004-06-01 23:09
Fromsteven yi
Subject[CSOUND-DEV:4789] Re: Testing
Hi all,

I wrote an initial version of runtests.py based on the runtests tcsh 
file.  It seemed to be working for me here on a win2k system though I 
did get some errors on some files.  The script is basic and probably 
should be modified for more reporting (i.e. using error codes for 
pass/fail notification, etc.).  I've checked it in to the tests module.

Thanks!
steven

Date2004-06-02 06:27
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4804] Re: Testing
>>>>> "abez" == abez   writes:

 abez> What have the difficulties in the past been with the tests?

So tests really want interaction and I have not scripted that.

 abez> Have they caught many changes? 

Yes a few typos of mine some long time back -- cannot remebmer
details.  More important is that it gives confidence in some of the
more significant changes

==John ffitch