[Lsb-infrastructure] Starter Tests for ALSA (t2c-alsa-tests)

Vladimir Rubanov vrub at ispras.ru
Wed Jan 27 02:39:03 PST 2010


Colleagues,

We have prepared an initial version of test stubs for the quick start in the
development of ALSA tests. We used our new automated test generation
technology -
<http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest>
API-Sanity-Autotest, which is a derivative from our AZOV technology for
shallow testing. The resulting tests are actually almost full-functioning
shallow tests but in the format of normal T2C tests ready for further
improvement and smooth transformation into normal tests.

 

We have committed the result into bazaar (
<http://bzr.linux-foundation.org/lsb/devel/t2c-alsa-tests/>
http://bzr.linux-foundation.org/lsb/devel/t2c-alsa-tests/alsa-t2c/). Scripts
for packaging have not been done yet, so the instructions for building,
installing and running the tests are the following:
--------building--------
1) cd t2c-alsa-tests/alsa-t2c/
2) autoreconf --install
3) sh gen_files.sh c_tet
4) ./configure --prefix=/opt/lsb/test/
5) export TET_ROOT=/opt/lsb-tet3-lite/
6) make
--------installing--------
7) make install
--------running----------
8) cd /opt/lsb/test/alsa-t2c/
9) ./run_tests.sh

 

So, with this release, we already have a test suite for all necessary ALSA
functions (for 716 functions, 1 test is missing due to
http://bugs.linuxbase.org/show_bug.cgi?id=2888) with shallow quality and it
is just a matter of modifying these tests (adding more checks / correcting
parameters in calls in the .t2c files) to make the tests better (transform
them into "normal" quality level).

 

Please check the result and provide feedback if any.

 

Regards,

Vladimir.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/lsb-infrastructure/attachments/20100127/2b4f62b6/attachment.htm 


More information about the lsb-infrastructure mailing list