update standards version
[debian/freetts] / tests / regression.sh
1 #!/bin/sh
2 # Copyright (c) 2001-2003 Sun Microsystems, Inc.
3 # All Rights Reserved.
4
5 # See the file "license.terms" for information on usage and
6 # redistribution of this file, and for a DISCLAIMER OF ALL 
7 # WARRANTIES.
8 #
9 #
10 # Runs all the regression tests.  This should be the only file
11 # you need to run in this directory.
12 #
13 TIME_INPUT=06:51
14 FLITE_VERSION=v1.2-release
15
16 export TIME_INPUT FLITE_VERSION
17
18 # The wave tests...
19 #
20 echo
21 echo Running the wave tests...
22 chmod +x wavetest.sh waveTimeTest.sh
23 sh ./waveTimeTest.sh ${TIME_INPUT} data/flite.${FLITE_VERSION}.wave.time.float.txt
24 sh ./wavetest.sh wave/08-01-01.wave.text data/flite.${FLITE_VERSION}.wave.first.float.txt
25
26 # The lpc tests...
27 #
28 echo
29 echo Running the lpc tests...
30 chmod +x lpctest.sh
31 sh ./lpctest.sh
32
33 # The utterance tests...
34 #
35 echo
36 echo Running the utterance tests
37 chmod +x utteranceTest.sh compareNumericUtt compareUtt testUtt utteranceTimeTest.sh testTimeUtt compareNumericUtt
38 sh ./utteranceTest.sh data/alice2 data/flite.${FLITE_VERSION}.alice2.rel
39 sh ./utteranceTimeTest.sh  ${TIME_INPUT} data/flite.${FLITE_VERSION}.time.rel 
40 sh ./utteranceTest.sh data/TokenGame.txt data/flite.${FLITE_VERSION}.TokenGame.rel
41
42 echo 
43 echo Cleaning up...
44 rm -f *.1 *.2 *.res *.diff timeTest.wave
45
46 echo
47 echo DONE!