summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-04-27 15:11:52 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2018-04-27 15:11:52 +0100
commit134f8fc93105db503e59b8f3ccd605a0bf0df60e (patch)
tree4804ca80ae7206d9f780d9fac4f9acfbae45b0fb
parent72c623654a408456aa8ff461541b94cea94a53b1 (diff)
mbl: fix skip supportlinaro-20180427-001
Change-Id: Ic50709cc0200a5aca899a9d800bbc221796eb5c6 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--automated/linux/mbl/mbl_accel_present.yaml8
-rw-r--r--automated/linux/mbl/mbl_audio_present.yaml6
-rw-r--r--automated/linux/mbl/mbl_auto.yaml3
-rw-r--r--automated/linux/mbl/mbl_btle_present.yaml8
-rw-r--r--automated/linux/mbl/mbl_btle_scan.yaml8
-rw-r--r--automated/linux/mbl/mbl_docker_interface.yaml8
-rw-r--r--automated/linux/mbl/mbl_docker_kernel-mandatory.yaml8
-rw-r--r--automated/linux/mbl/mbl_docker_kernel-optional.yaml8
-rw-r--r--automated/linux/mbl/mbl_docker_mounts.yaml8
-rw-r--r--automated/linux/mbl/mbl_gyro_present.yaml8
-rwxr-xr-xautomated/linux/mbl/mbl_kernel_test16
-rw-r--r--automated/linux/mbl/mbl_magn_present.yaml8
-rw-r--r--automated/linux/mbl/mbl_pressure_present.yaml8
-rw-r--r--automated/linux/mbl/mbl_pressure_temp.yaml8
-rw-r--r--automated/linux/mbl/mbl_pressure_value.yaml8
-rw-r--r--automated/linux/mbl/mbl_wifi_present.yaml8
16 files changed, 25 insertions, 104 deletions
diff --git a/automated/linux/mbl/mbl_accel_present.yaml b/automated/linux/mbl/mbl_accel_present.yaml
index 34688ed..70de9f3 100644
--- a/automated/linux/mbl/mbl_accel_present.yaml
+++ b/automated/linux/mbl/mbl_accel_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_accel_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_accel_present $RESULT" > output/result.txt
+ - ./mbl_accel_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_audio_present.yaml b/automated/linux/mbl/mbl_audio_present.yaml
index f69e311..f9ee48a 100644
--- a/automated/linux/mbl/mbl_audio_present.yaml
+++ b/automated/linux/mbl/mbl_audio_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- ./mbl_audio_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_audio_present $RESULT" > output/result.txt
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_auto.yaml b/automated/linux/mbl/mbl_auto.yaml
index 41d9d41..155cac7 100644
--- a/automated/linux/mbl/mbl_auto.yaml
+++ b/automated/linux/mbl/mbl_auto.yaml
@@ -12,9 +12,6 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
diff --git a/automated/linux/mbl/mbl_btle_present.yaml b/automated/linux/mbl/mbl_btle_present.yaml
index d7e39e2..19dbc2a 100644
--- a/automated/linux/mbl/mbl_btle_present.yaml
+++ b/automated/linux/mbl/mbl_btle_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_btle_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_btle_present $RESULT" > output/result.txt
+ - ./mbl_btle_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_btle_scan.yaml b/automated/linux/mbl/mbl_btle_scan.yaml
index 20717c3..8e67419 100644
--- a/automated/linux/mbl/mbl_btle_scan.yaml
+++ b/automated/linux/mbl/mbl_btle_scan.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_btle_scan.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_btle_scan $RESULT" > output/result.txt
+ - ./mbl_btle_scan.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_docker_interface.yaml b/automated/linux/mbl/mbl_docker_interface.yaml
index a040758..a564e2b 100644
--- a/automated/linux/mbl/mbl_docker_interface.yaml
+++ b/automated/linux/mbl/mbl_docker_interface.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_docker_interface.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_docker_interface.sh $RESULT" > output/result.txt
+ - ./mbl_docker_interface.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_docker_kernel-mandatory.yaml b/automated/linux/mbl/mbl_docker_kernel-mandatory.yaml
index 3c1afb7..1613783 100644
--- a/automated/linux/mbl/mbl_docker_kernel-mandatory.yaml
+++ b/automated/linux/mbl/mbl_docker_kernel-mandatory.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_docker_kernel-mandatory.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_docker_kernel-mandatory.sh $RESULT" > output/result.txt
+ - ./mbl_docker_kernel-mandatory.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_docker_kernel-optional.yaml b/automated/linux/mbl/mbl_docker_kernel-optional.yaml
index 6a9f4f4..4749dd6 100644
--- a/automated/linux/mbl/mbl_docker_kernel-optional.yaml
+++ b/automated/linux/mbl/mbl_docker_kernel-optional.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_docker_kernel-optional.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_docker_kernel-optional.sh $RESULT" > output/result.txt
+ - ./mbl_docker_kernel-optional.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_docker_mounts.yaml b/automated/linux/mbl/mbl_docker_mounts.yaml
index 94db253..431b8ed 100644
--- a/automated/linux/mbl/mbl_docker_mounts.yaml
+++ b/automated/linux/mbl/mbl_docker_mounts.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_docker_mounts.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_docker_mounts.sh $RESULT" > output/result.txt
+ - ./mbl_docker_mounts.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_gyro_present.yaml b/automated/linux/mbl/mbl_gyro_present.yaml
index e7c15d3..89e714f 100644
--- a/automated/linux/mbl/mbl_gyro_present.yaml
+++ b/automated/linux/mbl/mbl_gyro_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_gyro_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_gyro_present $RESULT" > output/result.txt
+ - ./mbl_gyro_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_kernel_test b/automated/linux/mbl/mbl_kernel_test
index cd1336a..c38aa4c 100755
--- a/automated/linux/mbl/mbl_kernel_test
+++ b/automated/linux/mbl/mbl_kernel_test
@@ -499,6 +499,7 @@ test_docker_interface() {
}
start_test() {
+ local result_string="***** Ended ${machine} Subsystem: ${subsystem} -------- Test: ${test_name}"
print_green "##### Starting ${machine} Subsystem: ${subsystem} ----- Test: ${test_name}"
# first check if there is a specific test function for this machine,
@@ -508,12 +509,19 @@ start_test() {
test_${subsystem}_${test_name} $@
ret=$?
case "$ret" in
- 0) print_pass "***** Ended ${machine} Subsystem: ${subsystem} -------- Test: ${test_name}" ;;
- 22) print_skipped "***** Ended ${machine} Subsystem: ${subsystem} -------- Test: ${test_name}" ;;
- *) print_fail "***** Ended ${machine} Subsystem: ${subsystem} -------- Test: ${test_name}" ;;
+ 0)
+ print_pass "${result_string}"
+ RESULT=pass ;;
+ 22)
+ print_skipped "${result_string}"
+ RESULT=skip ;;
+ *)
+ print_fail "${result_string}"
+ RESULT=fail ;;
esac
- exit $ret
+ mkdir output
+ echo "mbl_gyro_present $RESULT" > output/result.txt
}
#
diff --git a/automated/linux/mbl/mbl_magn_present.yaml b/automated/linux/mbl/mbl_magn_present.yaml
index 797123a..aa9804b 100644
--- a/automated/linux/mbl/mbl_magn_present.yaml
+++ b/automated/linux/mbl/mbl_magn_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_magn_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_magn_present $RESULT" > output/result.txt
+ - ./mbl_magn_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_pressure_present.yaml b/automated/linux/mbl/mbl_pressure_present.yaml
index 5f096cb..b03a8d4 100644
--- a/automated/linux/mbl/mbl_pressure_present.yaml
+++ b/automated/linux/mbl/mbl_pressure_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_pressure_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_pressure_present $RESULT" > output/result.txt
+ - ./mbl_pressure_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_pressure_temp.yaml b/automated/linux/mbl/mbl_pressure_temp.yaml
index 7c25134..874da56 100644
--- a/automated/linux/mbl/mbl_pressure_temp.yaml
+++ b/automated/linux/mbl/mbl_pressure_temp.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_pressure_temp.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_pressure_temp $RESULT" > output/result.txt
+ - ./mbl_pressure_temp.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_pressure_value.yaml b/automated/linux/mbl/mbl_pressure_value.yaml
index 52d05c6..9d7d6a4 100644
--- a/automated/linux/mbl/mbl_pressure_value.yaml
+++ b/automated/linux/mbl/mbl_pressure_value.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_pressure_value.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_pressure_value $RESULT" > output/result.txt
+ - ./mbl_pressure_value.sh
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/linux/mbl/mbl_wifi_present.yaml b/automated/linux/mbl/mbl_wifi_present.yaml
index c8fe06a..e587420 100644
--- a/automated/linux/mbl/mbl_wifi_present.yaml
+++ b/automated/linux/mbl/mbl_wifi_present.yaml
@@ -12,14 +12,8 @@ metadata:
- imx7s-warp
- raspberrypi3
-params:
- SKIP_INSTALL: "False"
-
run:
steps:
- cd ./automated/linux/mbl/
- - mkdir output
- - ./mbl_wifi_present.sh -s "${SKIP_INSTALL}"
- - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
- - echo "mbl_wifi_present $RESULT" > output/result.txt
+ - ./mbl_wifi_present.sh
- ../../utils/send-to-lava.sh ./output/result.txt