[Tools][Non-ACR][Updated tctshell] 17/174317/1
authorSanghoon Lee <shooney.lee@samsung.com>
Fri, 30 Mar 2018 05:05:19 +0000 (14:05 +0900)
committerSanghoon Lee <shooney.lee@samsung.com>
Fri, 30 Mar 2018 05:05:19 +0000 (14:05 +0900)
Change-Id: I93a8b522e90a0c716f51023e3d68b8d35b0ba860

release/csharp-tct_5.0_dotnet/tct-tools_r4_rc1/shell/tctshell/distribute_plan.py

index 9b93cc0..7a348c2 100755 (executable)
@@ -359,11 +359,13 @@ class AutoPlanDevExecutor(Process):
                 self.manualworker = AutoPlan_ManualSuiteWorker(suite, \
                         self.deviceId, self.plan)
                 self.manualworker.auto_test()
-
-            dump_files = SdbManager.exportDumpFiles(self.deviceId, \
+            try:
+                dump_files = SdbManager.exportDumpFiles(self.deviceId, \
                     self.plan.getResultFolderPath() + "/dump/" + suite.getSuiteName())
-            if dump_files:
-                SdbManager.deleteDumpFiles(self.deviceId, dump_files)
+                if dump_files:
+                    SdbManager.deleteDumpFiles(self.deviceId, dump_files)
+            except Exception as ex:
+                LOGGER.error(str(ex))
 
         LOGGER.debug("finished AutoPlanDevExecutor")