[ITC][stt][ACR-568][Fix apis for stte test]
authorsooyeon.kim <sooyeon.kim@samsung.com>
Thu, 29 Dec 2016 01:49:45 +0000 (10:49 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Thu, 29 Dec 2016 01:49:45 +0000 (10:49 +0900)
Change-Id: I3c5bab1f37d64c7e206cf4ebd436b437eb7e0abf
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
src/itc/stt/tct-stt-native.c

index 77fd2182fe3d4d7f2801399bb6b700b84652be7b..236de875bf285487c3ed79b633ffe506e7ca4edf 100755 (executable)
@@ -99,6 +99,12 @@ static void app_control(app_control_h app_control, void *data)
                        }
 
                        PRINT_TC_RESULT("%d",result);
+
+                       if (0 == strncmp(pszGetTCName, "ITc_stt_set_unset_engine_changed_cb_p", strlen(pszGetTCName)) || 0 == strncmp("ITc_stte_", pszGetTCName, strlen("ITc_stte_"))) {
+                               dlog_print(DLOG_INFO, "NativeTCT", "%s must be exited", pszGetTCName);
+                               ui_app_exit();
+                       }
+
                        FREE_MEMORY_TC(pszGetTCName);
                        return;
                }