summaryrefslogtreecommitdiff
path: root/android/scripts
AgeCommit message (Collapse)Author
2016-09-01android: fixed boot_time.shMilosz Wasilewski
Mistyped character was replaced by proper one Change-Id: I9a6e98ad1b2154617d7c0983ac08b28298b926bc Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-22android: FS mount time is measured from kernel init finishedMilosz Wasilewski
Change-Id: I8319fe0007d71e86159b7a3ee25cf48fdcce69c7 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-22android: boot time is reported in secondsMilosz Wasilewski
Output android boot time in seconds instead of miliseconds. Change-Id: I9e1de722eaec614c807c24f8a70c41bfa1c4d764 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-08-16update for boottime testYongqin Liu
1. collect time for fs mount and bootanim service 2. change to use lava-test-case to add test result this is preparation for LAVA v2 Change-Id: I9355238dc261f01604b02a36ef6f7fc5c98e5c7e Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-07-25android: optee-xtest: added support for result statisticsChase Qi
Change-Id: Ic7e912fb182e7bd5706b882913daa95ae6d9cc3a Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-07-13android: add optee-xtest test suiteChase Qi
Change-Id: I71b00fffbc025ffb2f9171f3cfd5987d98e85ce2 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-06-10android multinode-target.yaml: add check for ip before send ip to hostYongqin Liu
Since there are adbd restart instructions there, and this will cause the dhcpd_eth0 restarted, so we need to wait for the IP available via ping before run the lava-send command Change-Id: I1e5ac7b2fba3b84aa2b8c317438a1fa35d0365b2 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-05-18android: microbenchmarks: wait for device to be availableVishal Bhoj
Change-Id: I7268d53697c3d2324d8a3db382c5b8e9c371de29 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-03-18microbenchmarks add mode support for nexus5xVishal Bhoj
Change-Id: Iaf0803a14b15e3576d8a1c7c5cc3dbd2d37ab2a7 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-02-04update meminfo test with dumpsys meminfo informationYongqin Liu
also attach the raw data from the command Change-Id: I1042382814f77552e622823a30022d291c851ecb Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2016-01-22android/art-microbenchmarks: fix battery stats dumpVishal Bhoj
Change-Id: Idcfcf052628acd6192520c0e64ea1df9505c4431 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-01-22android/art-microbenchmarks: dump battery status before and after testsVishal Bhoj
Change-Id: I344cb8bef2a4d4641cfe2871bb70044a0d26637b Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-01-21android: fix failing art-microbenchmarks adbMilosz Wasilewski
adb sometimes fails when executing command on target device in the setup phase of the test. The failure doesn't looks as preventing the test from continuing, so adding a workaround for bad return code. This will make LAVA not to stop test-shell. Change-Id: Id28d3323bed1f73506413e00340a492ad1d380e9 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-01-21android: add verbose output to ART configure scriptsMilosz Wasilewski
Change-Id: Ie85f802a67f3003167711e4288058a6028aa4e3b Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-12-03Android: CTS: Use Pexpect for Fast ModelsChase Qi
* On Fast Models, cts-tradefed will exit abnormally when pipe used. Use Pexpect as a work around. * Fix some pep8 issues. Change-Id: I38f1fd314fbc882d8fcce0c9a7213a3f8d7fd2c6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-12-02Android: Generalize art-microbenchmarks for N9/N5X.Daniel Díaz
Because Nexus 5X is introduced, so is the configuration script for benchmarks. Change-Id: I728ce64eb2304216f4a3c0bfa426cec08f4e1099 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
2015-11-20android/scripts/pm-qa: Update pm-qa.sh scriptLisa Nguyen
Remove unused variables. Also add check to kill all pids associated with the cpuidle_killer program used in the cpuidle subtests, so PM-QA results can be shown in LAVA. Change-Id: I8885651499ca09bb5b17e234865e95c77e4fe4f0 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-11-13android: cts: optimize adb device checkChase Qi
* Print adb device after it is online. * Increase adb_ping timeout to 10 seconds to adapte to slow environment. Change-Id: Ie6ff14c5d8cfed50143f023b824f83154fc15789 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-11-06nexus9: microbenchmarks: reduce operating frequencyVishal Bhoj
Change-Id: Id31351b008e289493e494fccbd2baa1fd3dc72db Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-29android/scripts/gatortest.sh: remove the gator module checkYongqin Liu
since there is no gator.ko available now. The user-side daemon for gator now has enough support through standard kernel APIs to provide the majority of it's functionality without any kernel module. Change-Id: I062bb8da1fa964e92fb0f386dc67de2c6eb1354a Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-10-20art-microbenchmarks: Record mode as well in resultsVishal Bhoj
Change-Id: Ie4f9a4a084c58f4ca7d2c6623cb727a53b70cf1c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-18art-microbenchmark: parser update to provide shorter test caseVishal Bhoj
Change-Id: I5e91572da89215497b315dffb5710c5ee4269afe Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-18art-microbenchmarks: Fix parserVishal Bhoj
Change-Id: I4fa1882a9120e66bc5475744420e811d1f2d71f0 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-15Android: Fixed ART microbenchmarks host sideMilosz Wasilewski
Environment variables were not available inside configure script. Adding '.' before script call fixes the issue. Change-Id: I9ee56b5fced142ffbcae23f5f88d947425bf4652 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-10-09record ubenchmark resultsVishal Bhoj
Change-Id: I1be482a24e6ad56c94f6631114aaf42bda7052fb Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-05Android: Add art-microbenchmarksVishal Bhoj
Added host side of android multinode test. This test executes microbenchmarks for android runtime (ART). Change-Id: I16f749cd869a48a4dee49a1abef8568c400eef60 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-10-05Android: Multinode target side unificationMilosz Wasilewski
CTS and lava-android-test shared almost the same target side YAML files. This change merges both files into one and adds support for USB only devices. To preserve backward compatibility symilnks were created. These should be considered as deprecated and will be removed after all templates are migrated to new YAML files. Change-Id: Ie47eefb2ee5d1872a96925d3d0ec72501ed8fd71 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-09-09Android: CTS: modified multinode CTSMilosz Wasilewski
Multinode CTS was modified in order to gracefully handle device disconnection events and save logs even in exeptional situations. Results are presented as number of pass/failed/executed for each package. All log files are attached to the results. This should bring smaller log files in LAVA and more readability to the results. Change-Id: Idd2afc4fea63f2ea66e07ad4e4608ed7401b95f6 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2015-08-28android: update script for bionic-benchmark testYongqin Liu
since there is no crash caused by the bionic-benchmark test now, here removing the workaround for bad cases Change-Id: I0715ab018c602da7b9e2fed2307aa1abf88fa23a Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-05-27pm-qa: Move pm-qa files to Android directoryLisa Nguyen
The pm-qa.yaml test definition and pm-qa.sh script are used to run PM-QA on Android, but they are currently located in the commons folder. Move them to the Android folder to keep them organized. Change-Id: Ic694195c458f73b67091596f0b829a7dfb052230 Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-05-21Android: Add CTS Test for Linaro android images.Botao Sun
This change replaced old lava-android-test to handle CTS test. Huge bundle size issue has also been solved. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I42679e731c32995cb74a2a0b994fb85b1e8fcc97
2015-05-19android: update tjbench testYongqin Liu
update tjbench test to support for both 64bit and 32bit and make it use the common framework to run and output the result Change-Id: Ice6701b6baa4716939f89379059a7b2bf8e55dea Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-04-09android/common: clean exit so that LAVA can trust test resultsChase Qi
lava-test-shell-run is used to detect if the lava-test-shell finshed successfully. If the exit code of test case is nonzero, even all tests finished normally, lava-test-shell-run test will fail. Change-Id: If4c8266ccdfcb78ac99dd7bc4288601454e7af6b Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-03-24android: add tests of stringbench and libc-benchYongqin Liu
and update the tests of bionic-benchmarks Change-Id: I548b1620487802654c7f32dedd5a81221f71ad0f Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-03-23android: upgrade gtest definitionsChase Qi
Added repeatedly run support. Use test duration as measurement. Change-Id: I26aae98ef5713ecd9020259dcf5d8924749dc6c7 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-03-07add test for bionic-benchmarksYongqin Liu
Change-Id: I5bb16aab534a0fab1155dc9f8da0fa11de1ba31d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2015-02-26fix PEP8 issues in python scriptsArthur She
Change-Id: I4635323eb8fb2ed852ca5e4ab3cbedf866e1269a
2015-02-05android: add test case for gtest based testsChase Qi
Change-Id: I4eb94576bde8ecc4aeb59aa61ffdb0557f5928e0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2015-01-14add bootchart test to collect the bootchart test data as attachmentYongqin Liu
Change-Id: Id74a254513466d4b4dbce157de9ab3fa5e76f354 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-12-09android: boot time script fixedMilosz Wasilewski
Change-Id: I9ebb9e6ec1c1511473e8b9bf85ae23012b290e18 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-11-25android: fixed boot time scriptMilosz Wasilewski
Change-Id: Ibb2a81c8b36e9265bd746be5992a47983e26096e Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-11-20android: added boot time test caseMilosz Wasilewski
The script uses dmesg and logcat to calculate time from begenning of boot till displaying home screen. Change-Id: I7ce98301da750b51b611dd48450855e56e14f257 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2014-11-17piglit scripts: POSIX Compliant UpdateYongqin Liu
This change is to make the test script to be POSIX compliant. Also fix the problem of using -print for busybox find command Change-Id: Id24410d3eae9d93f2e02ee630207fdd896b648ae Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-15busybox.yaml, v8.yaml, busybox.sh and v8.sh:Botao Sun
Add Amit Pundir <amit.pundir@linaro.org> as a maintainer for above scripts. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I4f945d3b8a12bfd1c40db5466b3b7876e14c9544
2014-11-14android piglit test: update test definitions for piglit testYongqin Liu
update the test definition files for piglit test, also rename the files' name with piglit as prefix Change-Id: I44c6b6168d6fd164d20deb8fa8dd3b077adfbd64 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-11-05run_stress_switcher_tests.sh: DeleteBotao Sun
Delete above test script from this repository, as it's maintained along with the Android image itself. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I4fe79e9ab87c9b6c9c7930cca5d7a1e58b1a1474
2014-10-20tjbench.sh, tjbenchstart.sh and tjbenchparse.sh: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I80980308bef8bb5b2d3790baa99b9cae01f48da7
2014-10-20memtester.sh: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I0323ce2e82cab7a643227cc193dfaffee29835eb
2014-10-20iozone.sh, iozoneparser.sh: POSIX Compliant UpdateBotao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: Iee6cffa3e48112c3e742d0290e7b0da1e239d9cc
2014-10-20sd-mmc.sh: POSIX Compliant Update.Botao Sun
This change is to make the test script to be POSIX compliant. Original patch comes from: Lucas Dutra Nunes <ldnunes@ossystems.com.br> Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I9f28a92d837d0f9a0f3e66f52cd2699a449f9004