Skip to content

Commit

Permalink
debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abernix committed Feb 5, 2018
1 parent d54206a commit dee9c49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/paramedic.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ ParamedicRunner.prototype.getCommandForStartingTests = function () {
// For now we always trying to run test app on emulator
return Q().then(function () {
var configTarget = self.config.getTarget();
console.log("THE TARGET IS", configTarget);
return paramedicTargetChooser.chooseTarget(/*useEmulator=*/true, /*preferredTarget=*/configTarget);
})
.then(function(targetObj){
Expand Down
3 changes: 3 additions & 0 deletions lib/utils/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function getSimulatorsFolder() {
}

function getSimulatorModelId(cli, target) {
console.log("getting simulator model id for target", target);
var findSimCommand;
if (target) {
findSimCommand = cli + ' run --list --emulator' + module.exports.PARAMEDIC_COMMON_CLI_ARGS + ' | grep ' + target + ' | tail -n1';
Expand All @@ -74,6 +75,8 @@ function getSimulatorModelId(cli, target) {

var findSimResult = shelljs.exec(findSimCommand, {silent: true, async: false});

console.log("FIND SIM RESULT", findSimResult);

if (findSimResult.code > 0) {
logger.error('Failed to find simulator we deployed to');
return;
Expand Down

0 comments on commit dee9c49

Please sign in to comment.