Smoke test for glibc

Andrey Ponomarenko aponomarenko@rosalab.ru
Mon Oct 22 13:01:00 GMT 2012


Hello,

I've recently written an article [1] about smoke testing of Glibc API 
using a modern approach. This kind of test is needed to verify that most 
of the library functions pass a simple test in the particular 
environment, i.e. don't crash, don't emit any signal, don't hang and 
don't exit with non-zero error code. The test generator takes only a 
path to the installed glibc tree in order to compose input arguments for 
all functions (reasonable in most, but unfortunately not all, cases) and 
then create, build and run the test cases.

I've added a link to this article on the Release Process page (section 
5.6. Testing), so that glibc maintainers can run this additional test 
when preparing the release and look at the behaviour of all functions 
under the smoke test. The sample test report for 2.16 looks like this 
one [2].

Enjoy!

[1] http://sourceware.org/glibc/wiki/Testing/Smoke_test
[2] http://upstream-tracker.org/test_results/glibc/2.16.0/test_results.html

-- 
Andrey Ponomarenko, ROSA Lab.



More information about the Libc-alpha mailing list