Age | Commit message (Collapse) | Author |
|
Clean up files and settings for seteuid test here,
Since the tests will be migrated to unistd.seteuid* test
in bionic/tests/unistd_test.cpp file
Change-Id: Ia24b03c1e9a73e5e6c532e591a9d532253f0b9d1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
clean up the file and setting for file
tests/bionic/libc/common/test_udp.c
Change-Id: Id7889910e87309415b9504e6693322697907f426
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
the test implemented in file
tests/bionic/libc/common/test_pthread_once.c
has been re-implemented in file
bionic/test/pthread_once_smoke
by the tests pthread.pthread_once_smoke and pthread.pthread_once_1934122,
so here remove the related file and settings
Change-Id: I2c8d6f8a07419d4840512736cf264a86482f7eaf
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
since the tests for gethostname will be migrated into
bionic/tests/unistd_test.cpp as unistd.gethostname test
in the gtest format, the related files and settings will
be cleaned up here.
Change-Id: Ibe2bc9d3304ec9ac08a24a318276f07b84a1afea
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
delete related file and setting for test test_static_cpp_mutex,
since it is migrated into bionic/tests/pthread_test.cpp in gtest format
Change-Id: Ia9d165b18410c40a6f07a3b0b23d53bf8e355d05
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
The tests for constructor/destructor in an executable file have
been re-implemented by tests:
dlfcn.ctor_function_call in bionic/tests/dlfcn_test.cpp
atexit.exit in bionic/tests/atexit_test.cpp
So it's no meaning keep the tests for destructor in executable here
any more, and this change is to clean those files and settings up.
One thing list here is that in this system/extras directory,
tests for destructor in executable are tested both in statically linked
format and dynamically linked format. But in the bionic/tests, it is only
tested in dynamically linked format.
But this should not the reason to keep the test files and settings here.
Change-Id: I0ceb0450ca53b43bcf8473d54f08103519486992
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
The change is to remove the implementation for gethostbyname bionic test
here, since the new test implementation will be done under bionic/test/netdb_test.cpp
Change-Id: Idd52e3bd6d623a59d64b4f5fc84eb66856970941
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
|
|
The test for dlopen function with null specified have been
re-implemented by dlfcn.dladdr test in bionic/tests/dlfcn_test.cpp.
so here deleted it for cleaning up
Change-Id: I99c3d1d2252b41c7484310fa20a1298d80ad565c
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
The change is to remove the implementation for getaddrinfo bionic test here,
since the new test implementation will be done under bionic/test/netdb_test.cpp
Change-Id: I0a23a6b823530be30fca13e87ac067f8ce70f495
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
|
|
Change-Id: Ic4629a5e2cba6431d4bd138c260bb8889df0ad78
|
|
|
|
Change-Id: Ie37deaf62338e541434115d6b7ae748cc38b85a3
|
|
Change-Id: I96d0dbbb8d3482a19ce33e389971451fa630c84a
|
|
Some of these tests are stupid (hello_world.cpp), others are already replaced
by more complete tests in bionic (test_cpu_set.cpp).
Change-Id: Ie6d2723b049b4e9bb1b98ae0166be2c19551fdd0
|
|
Bionic already has a better test that's part of CTS.
Change-Id: I2e6bfb795d5fe1393432673a082338d85c083444
|
|
bionic now has all of these.
Change-Id: I0b65f019b88bc9ac7d33bd424361497320c66b7b
|
|
I've turned the strftime and strptime tests into CTS tests, and it's
not obvious what the other test was usefully testing.
Change-Id: I9d0ba08c6f2e2170e902e4a2aa379dd7289bdf6c
|
|
Change-Id: I06592a245c2229ca455156bab40eb1a815eef75b
|
|
|
|
Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
|
|
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
|
|
Change-Id: I4fcf6e3c6ed55f1db96dc93e6809b35d7719d32f
|
|
Change-Id: I43484c7333a967bac527752f4a4f75ec1ab420e3
|
|
+ Add a script to run a specific test on a device easily.
Change-Id: Icaf050bc1c3b6aef3498e253badd63344a7d442f
|
|
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
|
|
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
|
|
Merge commit '6f09971503f9bea177168d1599e925a5b22d18dd'
* commit '6f09971503f9bea177168d1599e925a5b22d18dd':
bionic: add a test for dlopen(NULL,...)
|
|
Change-Id: Iee8b33d1a046a71f5fd934912ee36371c1c9e8e5
|
|
dlclose().
Merge commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7'
* commit '83b47ccbc4066ef19f5d95261d8a892567a7f0a7':
bionic: add tests for sem_post() and static C++ destruction on dlclose().
|
|
Change-Id: I95e5608240881a3880874ea0ae8a24e716186e7f
|
|
Change-Id: Id40c317ed6d3bfe7d384ee1ba55a96bb869f361e
|
|
Change-Id: I7a0ed8928dfc61ebe8f027327a3f34e90cad04fb
|
|
This also refreshes the tests to properly compile with the latest
host toolchain.
|
|
Merge commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c'
* commit 'ac6a88edbf65ff3f9e40d6e4bf1e55a002be6d6c':
Add a new test to check the behaviour of getaddrinfo()
|
|
|
|
|
|
|
|
|
|
|
|
|