summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-04-04Fix cts alsr failure.Dan Cashman
/data/nativetest is not present on user builds, so remove tests depending on that from CTS inclusion. Bug: 36888825 Bug: 36484285 Test: cts builds and runs (test no longer present) Change-Id: I7134a1dca6df03fdfa9c0cc7488abd4570a95e33
2017-03-15Merge "attempt to fix google_tests.mk with magic"Jed Estep
2017-03-14attempt to fix google_tests.mk with magicJed Estep
Change-Id: I1e3304a91990c09761a9835a2a597b65d1da386c
2017-03-11Merge "fstest: replacing fs_mgr_read_fstab() with ↵Bowgo Tsai
fs_mgr_read_fstab_default()" am: 5b88b5289a am: c2d829fe87 am: 3aa9a925be Change-Id: Ic888dd5f1249bdcd020a8c5be9d488696fcf971c
2017-03-10fstest: replacing fs_mgr_read_fstab() with fs_mgr_read_fstab_default()Bowgo Tsai
The original default /fstab.{ro.hardware} might be moved to /vendor/etc/. or /odm/etc/. Use the new API to get the default fstab instead of using the hard-coded /fstab.{ro.hardware}. Bug: 35811655 Test: boot sailfish Change-Id: Ie11a4f22ed449ef90cbcc7117227a99ea9d79110
2017-02-26Merge "Remove references to kernel macros." am: 0e82c84aba am: 1016972e58Christopher Ferris
am: 0ad48d8414 Change-Id: I6b3ee5e430ef20713325025bc50b10f5b67f6208
2017-02-24Remove references to kernel macros.Christopher Ferris
The macros __force, __bitwise, __user are related to a kernel tool called sparse to find kernel bugs. These macros are always defined as nothing in the current uapi kernel header files, so these don't need to be here. Change-Id: Ia29b0ddbe80298dc19b170c927f1910e14af2c6b Test: Builds without warnings/errors.
2017-02-15Merge "fix potential leak of memory pointed." am: d1506c64ad am: a825c78434 ↵Yunlian Jiang
am: 85877ba13e am: ea5af81402 Change-Id: Ib00d22a850a007049435e856e8326312338b2d3a
2017-02-14Add a build target for bootloader testsJed Estep
Since the .py files don't need to be built, they can be packaged as-is. We can use a PHONY_PACKAGE with the source files set as the target's LOCAL_PICKUP_FILES to make them accessible to packaging targets like google_tests. Test: make bootloader_unit_test Bug: 33559158 Change-Id: I4a4453481d25a7dacb5bd8e8680328350d95f553
2017-02-07fix potential leak of memory pointed.Yunlian Jiang
This fixes the warning warning: Potential leak of memory pointed to by field 'bench' Bug: None Test: The warning is gone. Change-Id: Ief00a2f040b0a9700040e1c13856f24e3e7c817d
2017-01-28Merge "Add libbase dependency for recovery_test/boot_control_copy" am: ↵bowgotsai
a284424d6c am: 1e253ff82c am: 0ed8b439b3 am: 18eb429cfe Change-Id: I19270e554296b967fa6193711a2f86d4fa565fe3
2017-01-27Add libbase dependency for recovery_test/boot_control_copybowgotsai
It requires libbase due to fs_mgr is using <android-base/logging.h> Bug: 34336098 Test: compile Change-Id: I120a8f6c7e7bf052081e8c97a358384665927088
2017-01-12Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1c10b4ec13 am: ↵Mark Salyzyn
ab92bfe4dd am: 0d13de9fd7 am: d09cc8a6c1 Change-Id: I241844f655a1681b4af9ae5e78ca35f23161aebd
2017-01-11liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn
Test: compile Bug: 30465923 Change-Id: I0c8178ef32006e0ec5f3dde7446b5396cf98df77
2016-12-28Manually merge commit '96ace71'The Android Automerger
* commit '96ace71': kernel.config: aslr test exception in std:stoll
2016-12-27kernel.config: aslr test exception in std:stollMark Salyzyn
Test: no more exception failures Bug: 33846158 Change-Id: Iaaa43affae3a42cf5b94bed84ab94197d3d4d2d1
2016-12-15Merge "fix warning: Potential leak of memory pointed to by 'bench'" am: ↵Yunlian Jiang
43b28bc67b am: b03e1977e6 am: db0b38fb19 am: a576f9935c Change-Id: I927172326f5611c81a6749a10664c49ab3b3821a
2016-12-13fix warning: Potential leak of memory pointed to by 'bench'Yunlian Jiang
Bug: None Test: The warning is gone. Change-Id: Ifbe4550b372333f81bc0ff88b25687dfd0b64be9
2016-11-29time test reclassification as gTest am: 11a438be18 am: 0ceab28690 am: 40ae93af53Mark Salyzyn
am: 1257e26e37 Change-Id: Ifd9aa11c37109a90a3fbb26005f3b858cc89f3f0
2016-11-29system/extras: Replace cutils/log.h with android/log.h or log/log.h am: ↵Mark Salyzyn
3d66aa307e am: 55925a0a50 am: 1ce37777ee am: a383bf437b Change-Id: I6a594a5bd69375e92ea37de75acadbf30af84ae4
2016-11-29time test reclassification as gTestMark Salyzyn
am: 11a438be18 Change-Id: I06539c7e894be9a1739779f97fb31ec6f1e672b1
2016-11-29system/extras: Replace cutils/log.h with android/log.h or log/log.hMark Salyzyn
am: 3d66aa307e Change-Id: Ifa46c3083140959b0cd1f27a96de7826a3413205
2016-11-22Merge "cts: android.kernel.config drop v2" am: edb18846b8 am: 377daa8c61 am: ↵Mark Salyzyn
e2cd91046a am: e636bd18b1 Change-Id: I8f91dbe5d01982952b10999dbdd30e6b706a1bb7
2016-11-22Merge "cts: android.kernel.config drop v2"Mark Salyzyn
am: edb18846b8 Change-Id: I5c74eb13ccfe2a475dbad0cb66dadde38d8d5249
2016-11-22time test reclassification as gTestMark Salyzyn
Test: compile Bug: 26559308 Change-Id: I2198f8b580f5302bd3ca015a86fcd04e680765ee
2016-11-22system/extras: Replace cutils/log.h with android/log.h or log/log.hMark Salyzyn
Test: build success Bug: 26552300 Bug: 31289077 Change-Id: I245c859eae366f817f883e74717bb04050196b4e
2016-11-22cts: android.kernel.config drop v2Mark Salyzyn
Test: cts: android.kernel.config Bug: 19173869 Change-Id: If5c600ad7d261d94d424ae948314fec79bd69828
2016-11-16tests/framebuffer: Remove dead minui.h.Tao Bao
commit 480a3b1c6d5413e06775a9d53cb1596535fd91ae removed the last user of this local minui.h copy in 2011. Test: mmma system/extras/tests/framebuffer Change-Id: Iee42ef604616dc539d4a1699ada7209c48c3bcd9 (cherry picked from commit 12c8e9996232b3b41ebe9b3fe1c288823c77f292) (cherry picked from commit 5eda75e963bae890e82c7112ce2d8a918e32ba4d)
2016-11-15tests/framebuffer: Remove dead minui.h.Tao Bao
commit 480a3b1c6d5413e06775a9d53cb1596535fd91ae removed the last user of this local minui.h copy in 2011. Test: mmma system/extras/tests/framebuffer Change-Id: Iee42ef604616dc539d4a1699ada7209c48c3bcd9 (cherry picked from commit 12c8e9996232b3b41ebe9b3fe1c288823c77f292)
2016-11-15tests/framebuffer: Remove dead minui.h.Tao Bao
commit 480a3b1c6d5413e06775a9d53cb1596535fd91ae removed the last user of this local minui.h copy in 2011. Test: mmma system/extras/tests/framebuffer Change-Id: Iee42ef604616dc539d4a1699ada7209c48c3bcd9
2016-10-10ext4_utils: Export headers for libext4_utils* libs. am: 018ef1be61 am: ↵Tao Bao
46dcc11638 am: c8a81642cb Change-Id: I4b7e2a8ba9f53ffbc47a93493f3ef2b9cb2247a4
2016-10-09ext4_utils: Export headers for libext4_utils* libs.Tao Bao
So we can do "#include <ext4_utils/make_ext4fs.h>" without adding "LOCAL_C_INCLUDES += system/extras/ext4_utils". Also clean up the #include lines in system/extras/ext4_utils/. Test: `m checkbuild` works. Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60 (cherry picked from commit 018ef1be61e749d0fbe0f05179a4f0f9b858ae57)
2016-10-09ext4_utils: Export headers for libext4_utils* libs.Tao Bao
So we can do "#include <ext4_utils/make_ext4fs.h>" without adding "LOCAL_C_INCLUDES += system/extras/ext4_utils". Also clean up the #include lines in system/extras/ext4_utils/. Test: `m checkbuild` works. Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60
2016-10-09Merge "Rely on the platform -std default." am: 329e73bda6 am: 6b24b5786d am: ↵Elliott Hughes
6655268162 am: 1ed82a7eab Change-Id: I0a6d54d811a63c2e3356f854a7b8f26f12a62519
2016-10-09Merge "Rely on the platform -std default." am: 329e73bda6 am: 6b24b5786dElliott Hughes
am: 6655268162 Change-Id: I706151b0a0d0fede0ec6b681c9a15f6ffe60a5c8
2016-10-08Rely on the platform -std default.Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220
2016-10-01Merge "Remove LOCAL_CTS_GTEST_LIST_EXECUTABLE" am: 0a2b8b5ba2 am: 7f904442d5 ↵Dan Willemsen
am: 7fc1dd5306 am: c20870279d Change-Id: Ifd14bb20dc6c7d40537d858a2dbf6c8f343dd0d1
2016-10-01Merge "Remove LOCAL_CTS_GTEST_LIST_EXECUTABLE" am: 0a2b8b5ba2 am: 7f904442d5Dan Willemsen
am: 7fc1dd5306 Change-Id: I990bc41c28970621207995d9762e64330e5ecb02
2016-09-30Remove LOCAL_CTS_GTEST_LIST_EXECUTABLEDan Willemsen
The one user has been removed, this is no longer necessary. Test: None Change-Id: I387bca94f5b8b719bd75154d996bf64a487a57be
2016-09-29qtaguid replace asprintf with libbase StringPrintf am: 31399ff501 am: ↵Chenbo Feng
bc6aecfdfe am: f82bbd5e3e am: 685fe14ad6 Change-Id: I58b8bd982072b885a5315d066e5c9692773288eb
2016-09-29qtaguid: test: fix issue with buffer overflow am: 2e363e48f8 am: bdcf0b3e27 ↵Chenbo Feng
am: cd85d2c81a am: b662379da7 Change-Id: I0c0353d49e0c9fd6b1ba1238058d78a7e7d3b921
2016-09-29qtaguid replace asprintf with libbase StringPrintf am: 31399ff501 am: bc6aecfdfeChenbo Feng
am: f82bbd5e3e Change-Id: I69898d31f2c0534e4f9f9da9b45f95556acd3d81
2016-09-29qtaguid: test: fix issue with buffer overflow am: 2e363e48f8 am: bdcf0b3e27Chenbo Feng
am: cd85d2c81a Change-Id: Ifb7e4bdbc2c75f43ae41adc3ff40001959f25303
2016-09-29qtaguid replace asprintf with libbase StringPrintfChenbo Feng
use libbase function android::base::StringPrintf for string manipulation. Avoid free the char array at the end. Changed the program logic of building the match template to make it more concise. Test: manually tested on angler device. build and sync this module into device and run adb shell ./data/nativetest64/socketTag/socketTag Change-Id: Ic93ac4e91e87337acb2e12efadeb57833c36c95e
2016-09-29qtaguid: test: fix issue with buffer overflowChenbo Feng
Fixed the bug that test program cannot read socket addr directly from ctrl file, changed the implementation of read ctrl file to prevent possible fails when the ctrl file size is greater then the read buffer size. Test: manually tested on angler device. build and sync this module into device and run adb shell ./data/nativetest64/socketTag/socketTag Change-Id: I68a8513814a97d9417e13ad320a079510591d3a2
2016-08-31Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: ↵Daniel Rosenberg
9478bf8b40 am: e5aa18acf1 am: 03759b0b03 Change-Id: I223123c2cd69c787f919e6d9c006701100d5a71e
2016-08-30Merge "Test: Basic bootloader tests via fastboot" am: cbbc907a4d am: 9478bf8b40Daniel Rosenberg
am: e5aa18acf1 Change-Id: I45c4fdfd13a549e98fd934346f4b51bad69679b2
2016-08-30Merge "Test: Basic bootloader tests via fastboot"Daniel Rosenberg
am: cbbc907a4d Change-Id: I644f3d99f55fe84da2d517c3e5e6bae439a35a12
2016-08-30Merge "Test: Basic bootloader tests via fastboot"Daniel Rosenberg
2016-08-30Merge commit 'cb8b5af' into nyc-dev-plus-aospMitchell Wills
am: 3587c22e55 Change-Id: Ife0d09d14b4244bfc0c42d79653032b84a1e5c52