summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-08Rely on the platform -std default.Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220
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 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-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-26Remove ancient wifi stress testChristopher Wiley
Bug: 29321445 Change-Id: Ib6797def04d69f20ea4e856d4005c57b5ec6ac42 (cherry picked from commit 3defd8f2199234c5a7a6092fba320f143caf3622)
2016-08-17Merge "Build icache for arm on arm64"Colin Cross
am: cb0112fe64 Change-Id: I5554ac7aaf799dda68731802bd8668b3db5bbfb5
2016-08-17Merge "Build icache for arm on arm64"Colin Cross
2016-08-16Build icache for arm on arm64Colin Cross
Change-Id: Iac9511f7d943fde9e00d21d46ca32f186d4d5673
2016-08-12Test: Basic bootloader tests via fastbootDaniel Rosenberg
Test for required variable support, and verify some A/B functionality if present. Change-Id: Ic4728656d7aee3ea17764ef43bc6f208c7e165b9
2016-08-12Merge "Stop hard coding gtest/gmock things."Dan Albert
am: 9aef6c7d29 Change-Id: Ied120d80f30e9b81314ad13f6b32450f54f298fa
2016-08-11Stop hard coding gtest/gmock things.Dan Albert
The headers are exported, and the build system automatically adds libgtest for test modules. Test: mma Bug: None Change-Id: I99373732aa71244c6dc8bfa21c5d06190ce76ada
2016-07-12Merge \"Basic A/B bootloader tests via bootctl\"Jed Estep
am: 0ef925afc0 Change-Id: I3f438cef798c59c856326b389a1b162cdd31e33a
2016-07-12Merge "Basic A/B bootloader tests via bootctl"Daniel Rosenberg
2016-07-12Basic A/B bootloader tests via bootctlJed Estep
Change-Id: Ie7868cc205859c657e905e60ab6928517f02edb8
2016-07-08Merge \"Remove call to no-op klog_init.\"Elliott Hughes
am: 2b66a6f2bd Change-Id: I5fd576a1e9c05c035d8618091a72f9c5a5f90333
2016-06-29Remove call to no-op klog_init.Elliott Hughes
Change-Id: I3a55449f594c629edc75e4aa5b91b27c72ecd8ca
2016-06-28Merge \"pagingtest: fix large read errors\"Rom Lemarchand
am: d937202a3b Change-Id: If90cfaa7ed7769b760c57aace300fa2b10bed8df
2016-06-28Merge "pagingtest: fix large read errors"Treehugger Robot
2016-06-28pagingtest: fix large read errorsRom Lemarchand
Some kernels have a limit on the length of reads from urandom - fix Change-Id: I67dda25c2e43121da1470a56e40d03c59fd5fabe
2016-05-24Merge "Fix misc-macro-parentheses warnings in testUtil.c." am: 974a3c74abChih-Hung Hsieh
am: d2d7c446bd * commit 'd2d7c446bd0481038824d8c07f044952209191ee': Fix misc-macro-parentheses warnings in testUtil.c. Change-Id: I8175eb4e378a4837d683b32d0700b9361985c850
2016-05-24Merge "Fix misc-macro-parentheses warnings in testUtil.c."Treehugger Robot
2016-05-24Merge "Use LOCAL_CTS_GTEST_LIST_EXECUTABLE" am: 362c8254bdDan Willemsen
am: f5bfb71b89 * commit 'f5bfb71b8929335fe60828730795efcb65ed05d2': Use LOCAL_CTS_GTEST_LIST_EXECUTABLE Change-Id: I1709e5cd82882cb937624ec8f48b383e32bf5cb4
2016-05-23Use LOCAL_CTS_GTEST_LIST_EXECUTABLEDan Willemsen
In preparation to move host native tests to their own folder, stop assuming the location of the test list executable in BUILD_CTS_EXECUTABLE. Change-Id: I79004a21ffc7edc5cf0d8111ea9e9a8c0f782d98
2016-05-18Fix misc-macro-parentheses warnings in testUtil.c.Chih-Hung Hsieh
Bug: 28705665 Change-Id: I709ae08e15e5afb067bf9b208664107a449e1de3
2016-05-17Merge "pagingtest: test both with prefetching enabled and disabled" am: ↵Rom Lemarchand
517567d189 am: 6f5e9b117c * commit '6f5e9b117c173358397acdac87dd501a84ae6861': pagingtest: test both with prefetching enabled and disabled Change-Id: I3608c8bf05f144742d34402fbb9109ae3a3dd26b
2016-05-17Merge "pagingtest: switch to advising random accesses" am: 5263409f21Rom Lemarchand
am: 682242bc44 * commit '682242bc4491f75168b8c7469a4bbba59d24f99b': pagingtest: switch to advising random accesses Change-Id: Ib916350d037aed877d95820b864d5fdf66f8ef4d
2016-05-17pagingtest: test both with prefetching enabled and disabledRom Lemarchand
Run the same tests with page cache prefetching both enabled and disabled. Change-Id: Ica253781a17fa0a66c07d0f5658c6c7d8b047a16
2016-05-16pagingtest: switch to advising random accessesRom Lemarchand
Switch to using madvise(MADV_RANDOM) and posix_fadvise(POSIX_FADV_RANDOM) to disable caching as opposed to reading the file backwards, which still went through some caching. Measured a 80% drop in worst case performance after switching. Change-Id: I03115dfb94ae7dfc58e0e187af3936c4e371817f
2016-04-27Merge "Fix google-explicit-constructor warnings." am: b1304beTreehugger Robot
am: c4515b5 * commit 'c4515b505123815839f0ee672741e82423aa72e6': Fix google-explicit-constructor warnings. Change-Id: I39d53b09a735a6e0604ce153e4f6e8f4257473ce
2016-04-25Fix google-explicit-constructor warnings.Chih-Hung Hsieh
Bug: 28341362 Change-Id: I9f388006f5593b9f224e98e93deca7da35c5618a
2016-03-31Use default path to put benchmark binariesJulien Desprez
am: a4325d3 * commit 'a4325d3d28e8d6b0c0509175726620c643c4924d': Use default path to put benchmark binaries Change-Id: Ie4f2134409423fb9351f0c081b188401d34a2796
2016-03-31Use default path to put benchmark binariesJulien Desprez
In order to keep all the benchmark binaries in the same output place. Change-Id: I188f7933c230d8955905217b915899dd19e614bf
2016-03-29Merge "Update binder benchmark to use google-benchmark" into nyc-devJulien Desprez
am: 43d1014 * commit '43d10141f1654a130f761741a62445b5dcb3456a': Update binder benchmark to use google-benchmark Change-Id: I756ff78046d40e2ab068892021fa698e14910cde
2016-03-29Update binder benchmark to use google-benchmarkJulien Desprez
Bug: 26449138 Change-Id: Ie91d114bf669c686f618c252e58feff4c853ef91
2016-03-22aslr_test: Fix typo.dcashman
am: b543b4e * commit 'b543b4ed380bd3571f23225b216ad82860d281ee': aslr_test: Fix typo.
2016-03-22aslr_test: Fix typo.dcashman
(cherry-pick of internal commit: b543b4ed380bd3571f23225b216ad82860d281ee) Bug: 26512380 Change-Id: I3e92b3ac7412a14ef875297310541fccd1774c03
2016-03-22aslr_test: Fix typo.dcashman
Bug: 26512380 Change-Id: Ia65986700f198a0f09db4a45a7d1bde173e557e6
2016-03-15Correct aslr_test minimum arm value.dcashman
Default mmap_rnd_bits value is now equal to the maximum supported (16) on arm, not the minimum, 8. Adjust the test criteria to match this. (cherry-pick of internal commit: 6d7b862b59743b64500b9b079c90cc50d556ecdf) Bug: 27680571 Change-Id: I2017bf3b77b9513b0c8a797b6fe3dc6aef8ef431
2016-03-15Correct aslr_test minimum arm value.dcashman
am: 6d7b862b59 * commit '6d7b862b59743b64500b9b079c90cc50d556ecdf': Correct aslr_test minimum arm value.
2016-03-15Correct aslr_test minimum arm value.dcashman
Default mmap_rnd_bits value is now equal to the maximum supported (16) on arm, not the minimum, 8. Adjust the test criteria to match this. Bug: 27680571 Change-Id: I16f2c3120c92ca9ea537f445ba24ebd8172d613f
2016-03-14Merge "Migrate aslr test to gtest." into nyc-devdcashman
am: b098491ac6 * commit 'b098491ac69154f8633d11c0fc4a50429d374a4a': Migrate aslr test to gtest.
2016-03-14Migrate aslr test to gtest.dcashman
Create tests which test the values of mmap_rnd_bits, and mmap_rnd_compat_bits, if applicable, and verify that the address space is randomized as expected given the provided values. Also add a pair of tests to CTS that enforce that the observed entropy is at least as high as a designated value. That value will start as our default value, which also corresponds to the maximum value of some configurations. Packaging of executables along with a nativetest suite is not supported, so add a dummy nativetest suite, scrape_mmap_addr, which ensure that the executables are present along with the given tests at predictable locations. (cherry-pick of internal commit: d661642651a6689c76d3f575b4b5dbf04e6b75bd) Bug: 26512380 Change-Id: I8c4a68f3d10a57f9a51bdc6084df622cf8517b51
2016-03-09Migrate aslr test to gtest.dcashman
Create tests which test the values of mmap_rnd_bits, and mmap_rnd_compat_bits, if applicable, and verify that the address space is randomized as expected given the provided values. Also add a pair of tests to CTS that enforce that the observed entropy is at least as high as a designated value. That value will start as our default value, which also corresponds to the maximum value of some configurations. Packaging of executables along with a nativetest suite is not supported, so add a dummy nativetest suite, scrape_mmap_addr, which ensure that the executables are present along with the given tests at predictable locations. Bug: 26512380 Change-Id: Ib1202984f9b98c503b8d3bc2c2248a9d06940845
2016-03-09cts: android.kernel.configMark Salyzyn
(cherry pick from commit 67522d05df61e7757e1ff08ba0b7ad0f19406ec0) - Added plumbing for CTS tests - Divide Required into CTS and gTest and Recommended into gTest - Added check of CONFIG_ANDROID_LOGGER - test typically completes after 3ms Bug: 19173869 Change-Id: I13a92081bfa9b53abb69923b160b82e3be2142ab
2016-03-08Merge "cts: android.kernel.config"Mark Salyzyn
am: 07efeb6e2d * commit '07efeb6e2de34fc52da417a56449d44fd9cb9ca7': cts: android.kernel.config
2016-03-08Merge "cts: android.kernel.config"Mark Salyzyn
2016-03-02Merge "Delete net_test from system/extras now that it\'s in kernel/tests." ↵Lorenzo Colitti
am: 3669b3f331 am: fb9148766a * commit 'fb9148766a14d932c993dfc4cdb6a1dd46a82e83': Delete net_test from system/extras now that it's in kernel/tests.