summaryrefslogtreecommitdiff
path: root/automated/lib
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-01-25 15:56:04 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2017-01-26 08:16:23 +0000
commitc917abdefd3693fbd4d585efae802a10867b03fb (patch)
tree33a7e2a3384635d0536b05542672ba8716658c01 /automated/lib
parente79f5b93819573b62e76979183b4c7b7501c4539 (diff)
downloadtest-definitions-pipe-c917abdefd3693fbd4d585efae802a10867b03fb.tar.gz
automated: use pattern matching for rpb
avoid to hardcode the rpb variants. use "oe-rpb" as a distribution value instead of "oe-based". Change-Id: I8f1ccf35a1b82718f662bd79480cb2c7dc41c1b8 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'automated/lib')
-rwxr-xr-xautomated/lib/sh-test-lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib
index 17334c6..bdc74e8 100755
--- a/automated/lib/sh-test-lib
+++ b/automated/lib/sh-test-lib
@@ -173,7 +173,7 @@ dist_name() {
# convert dist to lower case
dist=$(echo ${dist} | tr '[:upper:]' '[:lower:]')
case "${dist}" in
- rpb|rpb-wayland|rpb-eglfs) dist="oe-based" ;;
+ rpb*) dist="oe-rpb" ;;
esac
}