Skip the can test 86/23286/2
authorKhouloud Touil <ktouil@baylibre.com>
Mon, 9 Dec 2019 10:41:42 +0000 (11:41 +0100)
committerKhouloud Touil <ktouil@baylibre.com>
Mon, 9 Dec 2019 13:33:30 +0000 (14:33 +0100)
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>
common/scripts/test_can_bitrate.sh

index 3a8f225..11b265d 100755 (executable)
@@ -153,7 +153,7 @@ for b in `seq 1909088 1909092`;do
 done
 
 if [ $bitrate_no_transmission -eq 0 ];then
 done
 
 if [ $bitrate_no_transmission -eq 0 ];then
-       lava-test-case can1_xfer_tx_range_end --result fail --measurement $b --units bit/s
+       lava-test-case can1_xfer_tx_range_end --result skip --measurement $b --units bit/s
        echo "All bitrates in this interval provide frames transmission, the last bitrate not found in this range"
        ip link set can0 down
        ip link set can1 down
        echo "All bitrates in this interval provide frames transmission, the last bitrate not found in this range"
        ip link set can0 down
        ip link set can1 down