History log of /system/extras/tests/bionic/libc/bionic/test_dlclose_destruction.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f101d6dd0e9da88ffed3aef0686758950285b3d 02-Jan-2011 David 'Digit' Turner <digit@google.com> tests:bionic: small improvement to dlclose test.

Change-Id: I2fa0e06fab770a42b95006751baca07bb0e19d1e
/system/extras/tests/bionic/libc/bionic/test_dlclose_destruction.c
133a37ede3e955093c6004d94496e2cdc2cc1264 20-Oct-2010 David 'Digit' Turner <digit@google.com> tests: Refine Bionic dlclose destruction test.

The purpose of this change is to test that C constructors and
destructors contained in shared libraries are properly called
when the corresponding libs are loaded and unloaded through
dlopen() and dlclose(), or when the program exits.

The test_dlclose_destruction test already performs this for
static C++ construction/destruction. The change refines it
with another shared library that uses __attribute__((constructor))
and __attribute__((destructor)) from C instead

(see the new libdlclosetest2 shared library).

A new test, test_executable_destructor is also added to check
that the constructor and destructor functions located in the
executable program itself are properly called.

Change-Id: If364d1c710282e8117f980b09490770e7d8d1e33
/system/extras/tests/bionic/libc/bionic/test_dlclose_destruction.c
83b47ccbc4066ef19f5d95261d8a892567a7f0a7 28-Jun-2010 David 'Digit' Turner <digit@google.com> bionic: add tests for sem_post() and static C++ destruction on dlclose().

Change-Id: I95e5608240881a3880874ea0ae8a24e716186e7f
/system/extras/tests/bionic/libc/bionic/test_dlclose_destruction.c