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

Re: sanity auto-tests for libssh-0.3.4


Aris Adamantiadis wrote:
> Hello Andrey,
>
> Thanks for your feedback, these tests look interesting, even if most
> of the errors are happening after a wrong API use (for instance most
> sftp functions are working on unconnected handles). We will correct
> them of course (segfaults are bad).
> Did you generate/write any kind of "source" file for the generation of
> the tests ? I would like to reproduce these results on my system to be
> able to resolve them (and possibly generate more test cases).
>
> Thanks,
>
> Aris
>
> Andrey Ponomarenko wrote:
>>   Hello, I'm from Institute for System Programing of Russian
>> Academy of Sciences and we have generated tests for libssh-0.3.4:
>> http://linuxtesting.org/api-sanity-autotest/tests/libssh/0.3.4/view_tests.html
>>
>> which have detect 69 errors in the library API:
>> http://linuxtesting.org/api-sanity-autotest/test_results/libssh/0.3.4/test_results.html
>>
>>   These tests were generated by our new free tool
>> API-Sanity-Autotest-1.0:
>> http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest
>>
>>
>
>
>
These tests were automatically generated by the API-Sanity-Autotest
<http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest>. You
can download it here
<http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest_Downloads>.
Command for generating, building and running the test suite for your
library is:
./api-sanity-autotest.pl -l libssh -d <descriptor> -gen -build -run
<descriptor> - is a simple file with an XML-like structure that
specifies version number, paths to header files and shared objects and
optionally some other information (more info about descriptors and
example for libssh please see on this page
<http://ispras.linux-foundation.org/index.php/Library_Descriptor>).

Also, generated tests can be changed/improved by creating specialized
types <http://ispras.linux-foundation.org/index.php/Specialized_Type>
for the library.

References:
sanity auto-tests for libssh-0.3.4Andrey Ponomarenko <susanin@xxxxxxxxx>
Re: sanity auto-tests for libssh-0.3.4Aris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org