aboutsummaryrefslogtreecommitdiff
path: root/lhg-oe-build
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2019-01-23 22:13:47 -0800
committerAndrey Konovalov <andrey.konovalov@linaro.org>2019-01-31 16:34:07 +0000
commit27f72219f73b0db8a24ccbf6e1e32777f2341451 (patch)
tree13191ebd10c86b6c8c3aa071bece461afc752cc6 /lhg-oe-build
parenta2dedb3d2689f38ac4d971444e96625000093618 (diff)
lhg-oe-build: Fix webgl-test failed on hikey morty build
The test needs tesseract-ocr to be installed in LXC. Change-Id: Ied797996f8cdb278f41dac43d9da3fde335213cd
Diffstat (limited to 'lhg-oe-build')
-rw-r--r--lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-morty.yaml5
-rw-r--r--lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-rocko.yaml5
2 files changed, 10 insertions, 0 deletions
diff --git a/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-morty.yaml b/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-morty.yaml
index ccab40f4..65df5770 100644
--- a/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-morty.yaml
+++ b/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-morty.yaml
@@ -41,6 +41,7 @@ actions:
- libffi-dev
- libssl-dev
- python-lxml
+ - tesseract-ocr
- git
os: debian
@@ -128,6 +129,10 @@ actions:
- lava-test-case ps --shell ps aux
- lava-test-case hikey-dmesg --shell dmesg
- lava-test-case weston-status --shell test -f /run/user/1000/weston.log
+ # Prevent Weston enter "inactive mode"
+ - echo -e "idle-time=0" >> /etc/xdg/weston/weston.ini
+ - cat /etc/xdg/weston/weston.ini
+ - lava-test-case prevent-weston-enter-inactive-mode-and-restart-it --shell systemctl restart weston@linaro
name: basic-tests
path: inline/basic-tests.yaml
diff --git a/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-rocko.yaml b/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-rocko.yaml
index ccab40f4..af9acc22 100644
--- a/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-rocko.yaml
+++ b/lhg-oe-build/lava-job-definitions/hi6220-hikey/template-tests-rocko.yaml
@@ -41,6 +41,7 @@ actions:
- libffi-dev
- libssl-dev
- python-lxml
+ - tesseract-ocr
- git
os: debian
@@ -128,6 +129,10 @@ actions:
- lava-test-case ps --shell ps aux
- lava-test-case hikey-dmesg --shell dmesg
- lava-test-case weston-status --shell test -f /run/user/1000/weston.log
+ # Prevent Weston enter "inactive mode"
+ - echo -e "idle-time=0" >> /etc/xdg/weston/weston.ini
+ - cat /etc/xdg/weston/weston.ini
+ - lava-test-case prevent-weston-enter-inactive-mode-and-restart-it --shell systemctl restart weston@linaro
name: basic-tests
path: inline/basic-tests.yaml