summaryrefslogtreecommitdiff
path: root/automated
AgeCommit message (Collapse)Author
2016-11-23automated: linux: added iperf testChase Qi
Change-Id: Ibf8bebfe78d60028ed7805f5f62080a194a2e660 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-22automated: Linux network basic: improvementsNaresh Kamboju
Network basic tests improved, - Install net-tools package - Get default gateway at run time - Removed variables from test_case_id - Rename 'test' to 'test_case' Change-Id: I27347cf2bd0627dbb7708742c507f27b78787ffe Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-18Merge "automated: test-runner: added option to record manual results"Chase Qi
2016-11-18automated: test-runner: added option to record manual resultsMilosz Wasilewski
Manual test cases can now be executed using test runner. The results are recorded the same way as for automated tests. Change-Id: Ifacbc7591f81bc4468c4dbe6550be0ba1ec3fd61 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-18automated: linux: Adding pointer-tagging-testsNaresh Kamboju
Change-Id: I86a865f301727281dbff81924e349daff86eb7ce Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-18lib: Adding new function exit_on_skipNaresh Kamboju
exit_on_skip "testcase-name" "reason for skip" Change-Id: I361f8282c1201362cd89afb4961012d02c8b2bbe Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-18automated: Linux dd: improvements and bug fixesChase Qi
* enable sh argument '-e' * stop using partition and filesystem type variables in test case ID * use convert_to_mb for result calculation which support floating point * cope with shellcheck Change-Id: I8f87c296280299d103eeb6f686b3fd8fecd62eb6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-18lib: sh-test-lib: remove non POSIX 'local' keywordNaresh Kamboju
To cope with shellcheck - Non-POSIX keyword 'local' removed - variable name and keyword 'test' renamed to 'test_case' Change-Id: Idb1b4064bb82ec219c9b4fed39fd6d07d5cc9249 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-16httperf-runner.py: a script to test http performanceJosep Puigdemont
This script will try to find the "best" replies/s rate for a target http server. It uses httperf and a trial-and-error method to find the best rate. Change-Id: I5f76d04ae5db710869038b700d8d9e99efad5d5f Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
2016-11-16Merge "automated: added Linux dsdbench test"Milosz Wasilewski
2016-11-16automated: added Linux dsdbench testChase Qi
dsdbench runs benchmarks and tests for storage driver configurations to help figure out how the configuration will perform and which known issues the daemon may be affected by in this configuration. Test suite source https://github.com/dmcgowan/dsdbench Change-Id: I68a46cb6354fbcaa880b81bb564e761f61309b6d Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-16automated: added Linux ethernet testNaresh Kamboju
Ethernet test to validate given network interface, * check interface state is up * ping to default Gateway Change-Id: I55bd54367e98aba150c01cd957fb8ca90c3a0d10 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-15automated: added nginx-apache-benchMilosz Wasilewski
The test runs apache-bench against ngingx webserver Change-Id: I8f18d04dad791b4e408c71fc64db58ce2cd8a853 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-15automated: fix fio testChase Qi
* Added more params for more control from test plan * Added readwrite and randrw test * Stop testing fio against partition, which destroy filesystem. Mount partition and enter mount point, run fio from there * Show test progress and clean output Change-Id: If63a5ca1a0485b88456a4a0f7f3ba82bcba751e0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-10test-runner: save test parameters to result.csvChase Qi
Change-Id: If6759527cb0a7cc8556c06a91b680ce46d466972 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-09automated: added Linux LEMP testChase Qi
Change-Id: I48d54b6c4c89e7a5c4d0bac0b30a1b48b26e3ca0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-08automated: added apache-benchMilosz Wasilewski
This tests runs apache-bench (ab) against apache2 webserver. Change-Id: I9dc13a17d8e1db3f23f88cd77e7e89c227411025 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-08automated: added toolchain-smoke testMilosz Wasilewski
Simple test that check if gcc compilation works Change-Id: Ic59f75c6b4c11c9e569017ca848036cdfeb69059 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-11-08openssh-debian: adding usage()Naresh Kamboju
Change-Id: If8a1c68926a078db3a97fa72feae25d44ed6b12b Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-07automated: test-runner: enhance result parserChase Qi
* Add test name and params to result.json * Collect all results in output/result.json * Add header and test name for output/result.csv Change-Id: Ie73af79be9e68780a8863e651dc30ed34bcbf4c3 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-07automated: send-to-lava: accept any character for measurement and unitsChase Qi
Change-Id: I61ade512f1f9f887e51cde8244ed51a40952df19 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-07linux: openssh debian testNaresh Kamboju
Change-Id: I63d8a44c0bf004da0547e1cb0b87d5afaa60a4fc Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-07automated: linux: add docker testChase Qi
Change-Id: I1e1b044ed6b736f1503ec0e7288ab917625d3184 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-04automated: linux: add blogbench testChase Qi
Change-Id: I25d1d36064ac9f486713e32f734d816b04d433ee Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-04linux: network-basic: cope with shellcheckNaresh Kamboju
Change-Id: I2ff190b03a2fc457444dbfcf24296737daaca130 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-04linux: device-tree: cope with shellcheckNaresh Kamboju
Change-Id: I196d9fe9381321c6419ed5575dbfd16bdfa466e1 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-04linux: usb-smoke-test: cope with shellcheckNaresh Kamboju
Change-Id: Id213b922c7c79fbdf458ef1c74211db759436da6 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-11-02v2: linux: add linpack testChase Qi
Change-Id: Ifcce69a08e4c561954c31d3748f0979b162e473c Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-11-02v2: linux: add hackbench testChase Qi
Change-Id: I2eadf7640554a0f19a59bcc6729055674bf0bdf6 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-28v2: linux: add stream uniprocessor testChase Qi
Change-Id: I9777b61faa63753c8890a4b3197118e82189320d Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-28v2: linux: add lmbench memory testChase Qi
Change-Id: I531d3d92e5d7ba6ab22868e12d7a4633bbcbe5d8 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-28v2: sh-test-lib: added support for adding 3rd-party repoChase Qi
Change-Id: Icae2293f011b7ed59061452cf119e4e1b077d6cd Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-27v2: linux: add device read performance testChase Qi
Use 'hdparm -t' to perform timings of block device reads for benchmark and comparison purposes Change-Id: I8dbefc4c4b4ba5fb539cd6a3df037ff43666a45a Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-27automated/utils: add vland helper functions.Anders Roxell
get_vland_interface and get_vland_mac Change-Id: I32e84c985ca4e59eb695bcc8312da9d6de1643a4 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2016-10-27v2: sh-test-lib: add run_test_case functionChase Qi
When shell argument "-e" set and "$?" is non-zero, test script will exit immediately. check_return and exit_on_fail would not work. run_test_case should be used instead. run_test_case runs test command within if block and able to give pass/fail respectively. "skip_list" is supported as an optional parameter. It skip the following tests and exit when skip_list isn't empty. Change-Id: I0f4040f37b6d9daa0558bac0d6bf87ba1c3bd904 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-27v2: sh-test-lib: add detect_abi functionChase Qi
Binaries are placed in folders named with abi. Test script need to detect abi type and use related binary. Change-Id: Id64bb84ba1170a52fdc2f1b485dc46eec1faae3f Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-25v2: sh-test-lib: add convert_to_mb functionChase Qi
Change-Id: I91764f7abc7ca2fb1995d9fb110c32d3b5f8c2f5 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-24v2: sh-test-lib: fix shellcheck error on validate_check_sum funtionChase Qi
Change-Id: Iaca9fd730ffd80ffaba71c0438786fd6b14034f0 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-24v2: send-to-lava.sh: move 'command -v' out of while loopChase Qi
Change-Id: Iff916da54cee93664f24bcdd1c14970b5a5db984 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-24v2: sh-test-lib: disable shellcheck SC2086 on install_deps functionChase Qi
SC2086 - Double quote to prevent globbing and word splitting. "${pkgs}" stands for a single package, not a list of packages. When multiple packages defined in the variable, quotes on it needs to be removed. Change-Id: I972df969ba3f388fe5582a6099baacda1db24cdd Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-20Merge "automated: fixed typing mistake in lamp.sh"Chase Qi
2016-10-20automated: fixed typing mistake in lamp.shMilosz Wasilewski
Change-Id: I7b0e1ef082f8c0f18f5b37eeedb81738553bec5c Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-10-20automated: fixed typing mistake in dd-wr-speed.shMilosz Wasilewski
Change-Id: Iaa8f3d37c56a3be5ddb85fd530cf53c1dcec1f4e Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2016-10-20v2: linux: add optee xtestChase Qi
Change-Id: Ifbaf77db448c07f6209269bc45718e7ad5747a50 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-20v2: lib: add pipe0_status functionChase Qi
pipe0_status is used to return exit code of the first command when using pipe. Usage: pipe0_status "cmd1" "cmd2" Change-Id: I1549e807c2a5401fdc1435a4ac3ac06e27765663 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-20v2: linux: add openssl speed testChase Qi
* Migrated ubuntu/openssl.yaml to v2 * Added more symmetric algorithms * Added two asymmetric algorithms, RSA and DSA Change-Id: I03a5ba90ae8b3ee77c8bde83067c6732812e159e Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-19v2: linux: Adding fio-testNaresh Kamboju
Change-Id: Icdd8b63e9b8149a71d34cf24833e7e06104e28e7 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-10-19v2: linux: add disk partitioning testChase Qi
* migrate common/disk-partitioning-test.sh to v2 * added support for test skipping Change-Id: I3e8ed7fd5e62f4e511c01f9e91770cd17c927603 Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-10-18v2: linux: Adding network basic testsNaresh Kamboju
Change-Id: Id1644df676003230aaf3249ffa351d2edf3b030e Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
2016-10-10ltp: dump LTP version to 20160920Naresh Kamboju
Change-Id: I9bd0d158458502fadec61e96061f7d02259a2e0f Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>