summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-09-11 10:51:22 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-09-11 10:52:49 +0200
commit8a82d75d739d2ca7728a65759c52d3c9d4cab3e7 (patch)
tree397414321ff25d86275c4d51ea8aa014f7ebd2c4 /ubuntu
parentcd87ae9552445e02aab3542d0e86620455d7bb75 (diff)
downloadtest-definitions-pipe-8a82d75d739d2ca7728a65759c52d3c9d4cab3e7.tar.gz
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 <nicolas.dechesne@linaro.org>
Diffstat (limited to 'ubuntu')
-rwxr-xr-xubuntu/scripts/device_read_perf.sh2
1 files changed, 1 insertions, 1 deletions
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