This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Smoke test for glibc
- From: Andrey Ponomarenko <aponomarenko at rosalab dot ru>
- To: libc-alpha at sourceware dot org
- Date: Mon, 22 Oct 2012 17:00:54 +0400
- Subject: Smoke test for glibc
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.