[ITC][contacts-service2][Non-ACR][TSAM-6918][tpk_create.sh file change for contacts_s...
authorgaurav.m2 <gaurav.m2@samsung.com>
Tue, 27 Sep 2016 10:18:56 +0000 (15:48 +0530)
committergaurav.m2 <gaurav.m2@samsung.com>
Tue, 27 Sep 2016 10:18:56 +0000 (15:48 +0530)
Change-Id: I3b0682952dd4da54875ee88720c717065faea5d7
Signed-off-by: gaurav.m2 <gaurav.m2@samsung.com>
scripts_tpk/tpk_create.sh

index 5c473e1..ab8631d 100755 (executable)
@@ -359,6 +359,13 @@ deploySourceFile() {
                        sed -i -e 's/native.accounts-svc-itc/org.tizen.accounts-svc-native-itc/g' tizen-manifest.xml
                fi
        fi
+       if [ $MODULE_NAME == "contacts-service2" ]; then
+               if [ "$5" == "utc" ]; then
+                       sed -i -e 's/core.contacts-service2-tests/org.tizen.contacts-service2-native-utc/g' tizen-manifest.xml
+               elif [ "$5" == "itc" ]; then
+                       sed -i -e 's/native.contacts-service2-itc/org.tizen.contacts-service2-native-itc/g' tizen-manifest.xml
+               fi
+       fi
        if [ $MODULE_NAME == "sync-manager" ]; then
                if [ "$5" == "utc" ]; then
                        sed -i -e 's/core.sync-manager-tests/org.tizen.sync-manager-native-utc/g' tizen-manifest.xml