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 |
||
|---|---|---|
| .. | ||
| Android.bp | ||
| BitSet_test.cpp | ||
| BlobCache_test.cpp | ||
| Looper_test.cpp | ||
| LruCache_test.cpp | ||
| README.txt | ||
| RefBase_test.cpp | ||
| String8_test.cpp | ||
| StrongPointer_test.cpp | ||
| SystemClock_test.cpp | ||
| TestHelpers.h | ||
| Unicode_test.cpp | ||
| Vector_test.cpp | ||
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