diff options
author | David 'Digit' Turner <digit@google.com> | 2010-10-20 21:38:34 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-10-21 03:27:34 +0200 |
commit | 133a37ede3e955093c6004d94496e2cdc2cc1264 (patch) | |
tree | 7a2c633c887098b761874b16f54da1f98bbbbbc5 /tests/binder/benchmarks/Android.mk | |
parent | 91ad0fe2d060598735fd1cbd2cff10fff4aa76ce (diff) | |
download | extras-133a37ede3e955093c6004d94496e2cdc2cc1264.tar.gz |
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
Diffstat (limited to 'tests/binder/benchmarks/Android.mk')
0 files changed, 0 insertions, 0 deletions