From 8a82d75d739d2ca7728a65759c52d3c9d4cab3e7 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Fri, 11 Sep 2015 10:51:22 +0200 Subject: device_read_perf: keep trying all devices even if one fails If reading a device fails for any reason, we don't want to stop the test, but keep going and read all the other devices. Change-Id: Id6bddb7ad9a9966607d9e6dac5cf5f7ebe8d4cff Signed-off-by: Nicolas Dechesne --- ubuntu/scripts/device_read_perf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/scripts/device_read_perf.sh b/ubuntu/scripts/device_read_perf.sh index de2ec52..f9fdbe2 100755 --- a/ubuntu/scripts/device_read_perf.sh +++ b/ubuntu/scripts/device_read_perf.sh @@ -49,7 +49,7 @@ test_func(){ echo "Device read timings: $c_read MB/sec" else echo "test_case_id:device_read_perf-$test_cmd units:none measurement:0 result:fail" - exit 0 + return fi t_read=`echo $t_read $c_read | awk '{print $1+$2}'` done -- cgit v1.2.3