speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/4] added autotest support


From: Andrei Kholodnyi
Subject: [PATCH 4/4] added autotest support
Date: Sun, 12 Sep 2010 13:05:43 +0200

Hi all,

I'd like to get your feedback on this patch before I continue with it.

This patch introduces autotest support for the speech-dispatcher tests
as described in
http://www.gnu.org/software/autoconf/manual/autoconf.html#Using-Autotest

with this patch there is a framework in place for the automatic test
of speech-dispatcher package.
by doing
make install
make installcheck

series of tests will run against installed speech-dispatcher to test
the functionality
it is also possible to run individual tests with
e.g. src/tests/testsuite -k basic
src/tests/testsuite -h gives all possible options.

There are two caveats in this patch
1. at the moment all tests fail, even if they are completed OK.
2. make distcheck tries to run tests while checking a distro build and
fails due to caveat #1.

Another question I'd like to address.
If we'd go automatic tests direction we need to check expected versus
produced results for the speech synthsis.
e.g. in spd-say Hello, expected result "spoken Hello" shall be
compared with produced wav.

I could imagine e.g. to produce a wav file before each test,
e.g. espeak -f Hello.wav and then compare it with the output wav
captured out of the SD's espeak module.

Any other ideas are highly welcome.
As I said, I need your feedback.

Thanks,
Andrei.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]