jjb/common: lava-labs: lavacli should not be fatal 58/20758/1
authorKevin Hilman <khilman@baylibre.com>
Wed, 20 Mar 2019 17:18:30 +0000 (10:18 -0700)
committerKevin Hilman <khilman@baylibre.com>
Wed, 20 Mar 2019 17:18:52 +0000 (10:18 -0700)
For now, the use of lavacli is for debug only, so failure to list
devices with lavacli should not be fatal.

To fix, remove the `continue` so if it fails, it fill fall through to
the legacy use of lava-tool.

Change-Id: Id55622e1b0f3d9c0e90673b24e8fa3642a15bee9
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-lava-labs-prepare.sh

index 159d080..f676d6c 100644 (file)
@@ -80,7 +80,6 @@ for lab in "${!labs[@]}"; do
 
     if [ -z "$lavacli_line" ]; then
         echo "not found."
-        continue
     fi
     IFS=':'
     arr=($lavacli_line)