• Home
  • History
  • Annotate
  • only in /system/extras/tests/bionic/libc/common/
History log of /system/extras/tests/bionic/libc/common/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
332e8babe350433b320efc9484f15a5dbdd8c68f 09-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Avoid dereferencing NULL pointer with memcmp in the test code."
3f6dfd684dd9451dcc4c83c42068c20753147077 28-May-2011 Mark Gonzales <markg@mips.com> Avoid dereferencing NULL pointer with memcmp in the test code.

Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
est_libgen.c
33cf0fee9523f7c796a71f42d2031a532351bb88 07-Dec-2011 David 'Digit' Turner <digit@google.com> libc: Add pthread and stdio benchmark test programs.

This patch adds two test programs to system/extras/test/bionic/libc

The first one can be used to benchmark simple stdio operation
(for now fread() / fwrite()).

The second one can be used to benchmark misc. pthread operations.
It can also easily be built with other toolchains for comparison
with other C library / pthread implementations.

Change-Id: I3e611244f3ff95e7485d8b8d6f91e5b8bab2de4b
ench_pthread.c
ench_stdio.c
f06bff7831256c708e9e5f06837bef3afc000e87 17-Jan-2011 Glenn Kasten <gkasten@google.com> Minimal test program for clock(3)

Change-Id: I4fcf6e3c6ed55f1db96dc93e6809b35d7719d32f
est_clock.c
8b37200df5764303e2c7c2396a34a07f2a604591 11-Jan-2011 Glenn Kasten <gkasten@google.com> Test cases for strptime

Change-Id: I43484c7333a967bac527752f4a4f75ec1ab420e3
est_strptime.c
aa47f0c8ebe0ee3fc6e6ab90b81848efb4c011a8 20-Dec-2010 David 'Digit' Turner <digit@google.com> libc tests: Add a drand48() test

+ Add a script to run a specific test on a device easily.

Change-Id: Icaf050bc1c3b6aef3498e253badd63344a7d442f
est_drand48.c
a4502d4e775e9038621cf32dd311ee6afa788dd0 06-Dec-2010 David 'Digit' Turner <digit@google.com> Add <sched.h> unit tests for cpu_set_t

This adds test_cpu_set to check the new features provided by
<sched.h> around cpu_set_t (i.e. CPU_SETSIZE, CPU_ZERO, CPU_SET,
sched_getaffinity, sched_setaffinity, sched_getcpu, ...)

Change-Id: I59030badb6f6c7560f7cb48fcfa722e8d7b9b1b9
est_cpu_set.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
est_clone.c
est_executable_destructor.c
est_gethostbyname.c
est_gethostname.c
e0fa0392204a24f086a2508b043c3962983b9483 23-Jul-2010 David 'Digit' Turner <digit@google.com> am 6f099715: bionic: add a test for dlopen(NULL,...)

Merge commit '6f09971503f9bea177168d1599e925a5b22d18dd'

* commit '6f09971503f9bea177168d1599e925a5b22d18dd':
bionic: add a test for dlopen(NULL,...)
6f09971503f9bea177168d1599e925a5b22d18dd 22-Jul-2010 David 'Digit' Turner <digit@google.com> bionic: add a test for dlopen(NULL,...)

Change-Id: Iee8b33d1a046a71f5fd934912ee36371c1c9e8e5
est_dlopen_null.c
10112f51911af42c4e32791858f498900155f9af 01-Jul-2010 David 'Digit' Turner <digit@google.com> am 83b47ccb: bionic: add tests for sem_post() and static C++ destruction on dlclose().

Merge commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7'

* commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7':
bionic: add tests for sem_post() and static C++ destruction on dlclose().
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
est_sem_post.c
545e6ca13f744650e4a62630f1b901c0840dcd43 12-May-2010 David 'Digit' Turner <digit@google.com> Add pthread_rwlock_t unit tests

Change-Id: Id40c317ed6d3bfe7d384ee1ba55a96bb869f361e
est_pthread_rwlock.c
8e88ea54ff19a3dd2cf5f5309ff13356a41d615a 24-Mar-2010 David 'Digit' Turner <digit@google.com> Add pthread mutex regression tests.

Change-Id: I7a0ed8928dfc61ebe8f027327a3f34e90cad04fb
est_pthread_mutex.c
84a66d0c8d79857586bad4e3d3010ee44f8f6971 28-Jan-2010 David 'Digit' Turner <digit@google.com> Add clone() test.

This also refreshes the tests to properly compile with the latest
host toolchain.
est_clone.c
est_static_cpp_mutex.cpp
e09db60c180b0380811bc03ac2e2ff439cbe7e09 05-May-2009 David 'Digit' Turner <digit@google.com> am ac6a88e: Add a new test to check the behaviour of getaddrinfo()

Merge commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c'

* commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c':
Add a new test to check the behaviour of getaddrinfo()
ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c 05-May-2009 David 'Digit' Turner <digit@google.com> Add a new test to check the behaviour of getaddrinfo()
est_getaddrinfo.c
319ea244ab117bfa519ec4fb176e5b42a5710458 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
est_strftime_2039.c
e16cb84e2324f05334d18dcf5956f20f44262b62 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ello_world.cpp
est_gethostbyname.c
est_gethostname.c
est_libgen.c
est_pthread_cleanup_push.c
est_pthread_getcpuclockid.c
est_pthread_join.c
est_pthread_once.c
est_semaphore.c
est_seteuid.c
est_static_cpp_mutex.cpp
est_tm_zone.c
est_udp.c
19ddb4b1680760e2d6863c3003976882ebd9d0fa 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ello_world.cpp
est_gethostbyname.c
est_gethostname.c
est_libgen.c
est_pthread_cleanup_push.c
est_pthread_getcpuclockid.c
est_pthread_join.c
est_pthread_once.c
est_semaphore.c
est_seteuid.c
est_static_cpp_mutex.cpp
est_tm_zone.c
est_udp.c
d6dd2fcf84a73288fbdc5c207ec28ee877a19c9b 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
ello_world.cpp
ab8beedeb70c6941e0ff68014d8db64cee4ef15d 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
est_gethostbyname.c
est_gethostname.c
est_libgen.c
est_pthread_cleanup_push.c
est_pthread_getcpuclockid.c
est_pthread_join.c
est_pthread_once.c
est_semaphore.c
est_seteuid.c
est_static_cpp_mutex.cpp
est_tm_zone.c
est_udp.c