aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/test_can_bitrate.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09Skip the can testKhouloud Touil1-1/+1
As the behaviour of the test not determined, to avoid the fail of the test, we will skip it if the value of no_transmission not found. AGL-bug: SPEC-3025 Change-Id: If24e512f2cc83ee7018a4309cb64434cf3a2b938 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-10-15Inverse the fail/pass logicKhouloud Touil1-2/+2
This test should be failing, so it should be set to pass when it fails, and should be set to fail when it passes. AGL-bug: SPEC-2878 Change-Id: I43921717eea77d654921eca4691c936bb2901e54 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-14Fix the nomenclatur of LAVA test casesKhouloud Touil1-20/+20
This patch fixes the problem of the naming issue. Test cases that have the same name will end up overwriting previous test cases when storing the results in the data base. So this patch is to changes the test cases names and to be more understandable. Change-Id: Iab3aaf62aefb120b7a04d21bd83aabf7034e72f4 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-14Fix: delete the temporary fileKhouloud Touil1-0/+1
Before breaking the loop, the temporary file should be deleted. Change-Id: I3d2abb49b78cdf08e77ce4007d24e40dd4a93ea5 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-14Fix the for loopKhouloud Touil1-1/+1
To avoid looping several times through the same test case the 'break' should be moved to the right position. Change-Id: I8a4d5e73b1f2ef39f8593209b928323a1770dedf Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-14test_can_bitrate: fix indentationKhouloud Touil1-22/+22
This patch fixes indentation in the 'test_can_bitrate.sh' file. Change-Id: I1968e9e7e39429e3900b845c1f72ff393f741d16 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-16Fix the CAN bus testsguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.26.90.05.99.65.99.55.99.45.99.35.99.2khouloud touil1-34/+33
At first to be able to configure the can interfaces, we had to use the libsocketcan, but this lib should be used with canutils utilities, but a conflict happened between the canutils and the can-utils, so I had to fix the tests to be able to use only the can-utils utilities. This link for a LAVA test job for these tests: http://lava.baylibre.com:10080/scheduler/job/10883 Change-Id: I7b988496d6977d6d9d82f8f82b58520444dbc7d6 Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-07-02CAN bus testskhouloud touil1-0/+185
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>