summaryrefslogtreecommitdiffstats
path: root/common/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-07-02CAN bus testskhouloud touil5-0/+501
This commit for testing CAN modules, sending and receiving frames, showing stats and and testing suitable bitrates for transmission. The "test_can_loopback_mode" test can be run on a board with one interface. This test will fail gracfully if the board dosen't have any CAN interface. The other tests needs to be run on a board with two CAN interfaces (e.g. dra7 with external transceiver.) These tests requires two interfaces on the same board to send frames with the first interface and to receive them with the other one These tests will fail gracfully by skiping all test cases if the board doesn't have two interfaces. This link for the DRA7xx-EVM job : http://lava.baylibre.com:10080/scheduler/job/2860 This link for the AM335X-BONEBLACK (no CAN interface) : http://lava.baylibre.com:10080/scheduler/job/2862 Change-Id: I7d4c69f7817adbea8281d264cbbb7fa55571584e Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-03-14service-ids-check: Add check uid/gid of servicesflounder_5.99.1flounder/5.99.15.99.1jobol1-0/+78
This new test allows to check whether service run with expected uid and gid. This check doesn't check that the service runs because there is an other check for that. It currently only checks weston service to run as display/display but it can be easily extended for checking other services. Bug-AGL: SPEC-546 Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09Yocto ptest wrapper extend ptest seteel_4.99.3eel/4.99.34.99.3Loys Ollivier1-4/+7
Extend the set of ptests to run to: acl attr bluez5 busybox dbus-test. Reduce the LAVA output to summarize the results of ptests. Change-Id: I088789dbc148f4007c8b9971adeadce689cbb6b0 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-20New Yocto ptest definition & scripteel_4.99.2eel/4.99.24.99.2lollivier1-0/+30
Add a new yocto ptest definition to the pool of tests. The script is a wrapper around the ptests. For now it only runs the ptests for busybox. Bug-AGL: SPEC-911 Change-Id: I6fe96297c0d5db71c2ef41dc5afd67eecf3d8e97 Signed-off-by: lollivier <lollivier@baylibre.com>
2017-10-18Rename check for homescreen and remove lightmediascanner serviceJan-Simon Möller1-1/+1
This change corrects the service-check-gfx.sh script. HomeScreen.service is actually named homescreen.service. lightmediascanner.service does not exist in the target rootfs. Change-Id: Ief1a1641e2e5242f155255af02b1c250b377ae12 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12Merge "Adapt service checks for gfx and nogfx case"Jan-Simon Moeller2-13/+41
2017-10-12Add 5 sec delay for service checkJan-Simon Möller2-0/+6
to ensure all services (weston/homescreen) are really up as they might still be starting once we reach the login prompt. Change-Id: I1e16146704f1b11d576ffab1524b279e4be5a82c Bug-AGL: SPEC-950 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12Adapt service checks for gfx and nogfx caseJan-Simon Möller2-13/+41
Based on SPEC-949, remove the afm-user-daemon service as it is a session service and no system service. Add systemctl list-units at the end. Bug-AGL: SPEC-949 Change-Id: I90cde515efc5dbbd031691026f76345f8828be1a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10Prepare the nogfx variant of the service checkJan-Simon Möller2-3/+31
and enhance verbosity. Change-Id: Ia95a6236ffc4229703714ad58b70b21c00884c5c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-29Add some more output in case the service is not up to assist debuggingJan-Simon Möller1-0/+3
Change-Id: Ia61db614df402ccf9daf37ef685a002b08e3d824 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-22[SPEC-272] Add service testLoys Ollivier1-0/+19
New test definition. Check that needed services are up. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-06-13Add examples for testsJan-Simon Möller2-0/+89
Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>