SPEC-3482: handle new package name 09/25109/1
authorCorentin LABBE <clabbe@baylibre.com>
Wed, 12 Aug 2020 14:44:19 +0000 (16:44 +0200)
committerCorentin LABBE <clabbe@baylibre.com>
Wed, 12 Aug 2020 14:44:19 +0000 (16:44 +0200)
Now we build all package type, we need to handle coverage/test packages.

Bug-AGL: SPEC-3482

Change-Id: Idb6dc2d453f26183094d6679dcc5c1f553780a16
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
common/scripts/application-lifecycle.sh

index e0837a6..c03602e 100755 (executable)
@@ -51,7 +51,7 @@ grep -o '[a-z-]*.wgt' index.html | sort | uniq |
 while read wgtfile
 do
        # remove extension and the debug state
-       WGTNAME=$(echo $wgtfile | sed 's,.wgt$,,' | sed 's,-debug$,,')
+       WGTNAME=$(echo $wgtfile | sed 's,.wgt$,,' | sed 's,-debug$,,' | sed 's,-test$,,' | sed 's,-coverage$,,')
        SERVICE_PLATFORM=0
        SERVICE_USER=0
        APPLICATION_USER=0