{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/greentea/issues/202","repository_url":"https://api.github.com/repos/ARMmbed/greentea","labels_url":"https://api.github.com/repos/ARMmbed/greentea/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/greentea/issues/202/comments","events_url":"https://api.github.com/repos/ARMmbed/greentea/issues/202/events","html_url":"https://github.com/ARMmbed/greentea/issues/202","id":187357866,"number":202,"title":"Retargeting does not work through mbedgt","user":{"login":"stevew817","id":4510034,"avatar_url":"https://avatars.githubusercontent.com/u/4510034?v=3","gravatar_id":"","url":"https://api.github.com/users/stevew817","html_url":"https://github.com/stevew817","followers_url":"https://api.github.com/users/stevew817/followers","following_url":"https://api.github.com/users/stevew817/following{/other_user}","gists_url":"https://api.github.com/users/stevew817/gists{/gist_id}","starred_url":"https://api.github.com/users/stevew817/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevew817/subscriptions","organizations_url":"https://api.github.com/users/stevew817/orgs","repos_url":"https://api.github.com/users/stevew817/repos","events_url":"https://api.github.com/users/stevew817/events{/privacy}","received_events_url":"https://api.github.com/users/stevew817/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-04T15:08:39Z","updated_at":"2016-11-04T15:54:46Z","closed_at":null,"body":"When retargeting a platform using the retarget functionality in mbed-ls, the retarget shows up when executing mbedls, but not when running mbedgt.\r\nDoes mbedgt call mbedls from a different working directory?"},"comment":{"url":"https://api.github.com/repos/ARMmbed/greentea/issues/comments/258470512","html_url":"https://github.com/ARMmbed/greentea/issues/202#issuecomment-258470512","issue_url":"https://api.github.com/repos/ARMmbed/greentea/issues/202","id":258470512,"user":{"login":"stevew817","id":4510034,"avatar_url":"https://avatars.githubusercontent.com/u/4510034?v=3","gravatar_id":"","url":"https://api.github.com/users/stevew817","html_url":"https://github.com/stevew817","followers_url":"https://api.github.com/users/stevew817/followers","following_url":"https://api.github.com/users/stevew817/following{/other_user}","gists_url":"https://api.github.com/users/stevew817/gists{/gist_id}","starred_url":"https://api.github.com/users/stevew817/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevew817/subscriptions","organizations_url":"https://api.github.com/users/stevew817/orgs","repos_url":"https://api.github.com/users/stevew817/repos","events_url":"https://api.github.com/users/stevew817/events{/privacy}","received_events_url":"https://api.github.com/users/stevew817/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T15:54:46Z","updated_at":"2016-11-04T15:54:46Z","body":"I think the issue is that most tools (greentea, htrun, ...) call mbedls in the following way:\r\n\r\n> mbeds = mbed_lstools.create()\r\n    mbeds_list = mbeds.list_mbeds_ext()\r\n\r\nI discovered you need to specifically call retarget() on mbeds for retarget to work... So maybe the solution here is to call retarget in the create function?"}}
{"actor":{"display_login":"stevew817"}}