android_system_core/libutils/tests
Hans Boehm 4a8276c779 Add test for RefBase etc.
Add some basic tests for RefBase, as well as a more ambitious memory
ordering test.

Add a README.txt with instructions to run the tests.

Comment out a couple of BlobCache tests that failed consistently and
appeared to be incorrect.  With that fix, I managed to run
libutils_tests successfully on device.

Bug: 28705989
Change-Id: I8ad29995097a149a0cc38615d6ed37117ec6cb5c
2016-07-13 12:03:03 -07:00
..
Android.bp Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
BitSet_test.cpp libutils: fix signed/unsigned comparison warnings 2015-08-17 20:54:15 -07:00
BlobCache_test.cpp Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
Looper_test.cpp Make libutils Looper independent of frameworks/native 2013-12-18 22:32:13 -08:00
LruCache_test.cpp libutils: fix cache removal when callback invalidates the key 2015-11-20 14:54:51 +00:00
README.txt Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
RefBase_test.cpp Add test for RefBase etc. 2016-07-13 12:03:03 -07:00
String8_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
StrongPointer_test.cpp Teach sp<> how to std::move 2015-10-29 07:17:40 -07:00
SystemClock_test.cpp SystemClock: add test 2016-05-02 13:59:58 -07:00
TestHelpers.h move libs/utils to libutils 2013-08-02 14:40:08 -07:00
Unicode_test.cpp move libs/utils to libutils 2013-08-02 14:40:08 -07:00
Vector_test.cpp system/core/lib[c]utils: Fix signedness comparison warnings. 2016-03-01 11:21:53 -08:00

Run device tests:

mma -j<whatever>
(after adb root; adb disable-verity; adb reboot)
adb root
adb remount
adb sync
adb shell /data/nativetest/libutils_tests/libutils_tests