protected static final String NO = "no";
protected static final String YES = "yes";
protected static final String LOG_FILE = "valgrind.xml";
+ protected static final String BADA_EXT = ".exe";
protected static final String PACKAGE_NAME = "valgrind";
protected static final String PACKAGE_FILENAME_ARM = "valgrind_armel.deb";
IPath exeFile = CDebugUtils.verifyProgramPath(config);
remoteExePath += exeFile.toFile().getName();
+ // for bada application
+ // execute not .exe file instead of .exe file
+ if(remoteExePath.endsWith(BADA_EXT))
+ {
+ remoteExePath = remoteExePath.substring(0, remoteExePath.length() - BADA_EXT.length());
+ }
+
cmd = "ls " + remoteExePath + TizenPlatformConstants.CMD_SUFFIX;
// resultRsp = session.run(cmd, null);
resultRsp = CommandManager.runCommandReturningResult(cmd);