diff options
author | Arthur She <arthur.she@linaro.org> | 2017-11-01 14:39:40 -0700 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2017-11-01 18:46:25 -0700 |
commit | 7329d4d4a20036644655e0982316526f7b103767 (patch) | |
tree | bee2586e04d18a981968c5b0841663c91260b5d1 | |
parent | 9caca5c06ba041022f90174336a762107657da19 (diff) |
Run weston-simple-egl in weston-status.yaml
-rw-r--r-- | openembedded/weston-status.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openembedded/weston-status.yaml b/openembedded/weston-status.yaml index 3ffcf30..7463649 100644 --- a/openembedded/weston-status.yaml +++ b/openembedded/weston-status.yaml @@ -15,3 +15,7 @@ metadata: run: steps: - lava-test-case weston-is-present --shell ps aux|grep [w]eston + - su; /usr/bin/weston-simple-egl & + - pid=$! ; sleep 10 + - ps; echo "PID: $pid" + - ps aux|grep weston-simple-egl|grep -v grep; if [ $? -eq 0 ];then echo "weston-simple-egl pass";kill -9 $pid; else echo "weston-simple-egl fail"; fi |