{"action":"closed","number":2455,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455","id":81354113,"html_url":"https://github.com/ARMmbed/mbed-os/pull/2455","diff_url":"https://github.com/ARMmbed/mbed-os/pull/2455.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/2455.patch","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2455","number":2455,"state":"closed","locked":false,"title":"Sharing greentea-client's RawSerial with utest and UNITY.","user":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"body":"This commit allows the linker to remove the reference to the RawSerial object if it not used in the application. It is now initialized upon first use via the [SingletonPtr](https://github.com/ARMmbed/mbed-os/blob/master/hal/api/SingletonPtr.h) class. This way it only is brought in for tests.\r\n\r\nThis helps address #2454 ","created_at":"2016-08-15T18:35:25Z","updated_at":"2016-08-26T14:56:23Z","closed_at":"2016-08-26T14:56:23Z","merged_at":"2016-08-26T14:56:23Z","merge_commit_sha":"a7c7ceda0eaf281434ba64e1bfafe4f61c0c0e8b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2455/comments","statuses_url":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/f334bd7602c2a4aad982ffdca36ebefa72a0dbd5","head":{"label":"bridadan:share-greentea-serial-in-frameworks","ref":"share-greentea-serial-in-frameworks","sha":"f334bd7602c2a4aad982ffdca36ebefa72a0dbd5","user":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"repo":{"id":31221716,"name":"mbed","full_name":"bridadan/mbed","owner":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bridadan/mbed","description":"mbed libraries and tools","fork":true,"url":"https://api.github.com/repos/bridadan/mbed","forks_url":"https://api.github.com/repos/bridadan/mbed/forks","keys_url":"https://api.github.com/repos/bridadan/mbed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bridadan/mbed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bridadan/mbed/teams","hooks_url":"https://api.github.com/repos/bridadan/mbed/hooks","issue_events_url":"https://api.github.com/repos/bridadan/mbed/issues/events{/number}","events_url":"https://api.github.com/repos/bridadan/mbed/events","assignees_url":"https://api.github.com/repos/bridadan/mbed/assignees{/user}","branches_url":"https://api.github.com/repos/bridadan/mbed/branches{/branch}","tags_url":"https://api.github.com/repos/bridadan/mbed/tags","blobs_url":"https://api.github.com/repos/bridadan/mbed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bridadan/mbed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bridadan/mbed/git/refs{/sha}","trees_url":"https://api.github.com/repos/bridadan/mbed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bridadan/mbed/statuses/{sha}","languages_url":"https://api.github.com/repos/bridadan/mbed/languages","stargazers_url":"https://api.github.com/repos/bridadan/mbed/stargazers","contributors_url":"https://api.github.com/repos/bridadan/mbed/contributors","subscribers_url":"https://api.github.com/repos/bridadan/mbed/subscribers","subscription_url":"https://api.github.com/repos/bridadan/mbed/subscription","commits_url":"https://api.github.com/repos/bridadan/mbed/commits{/sha}","git_commits_url":"https://api.github.com/repos/bridadan/mbed/git/commits{/sha}","comments_url":"https://api.github.com/repos/bridadan/mbed/comments{/number}","issue_comment_url":"https://api.github.com/repos/bridadan/mbed/issues/comments{/number}","contents_url":"https://api.github.com/repos/bridadan/mbed/contents/{+path}","compare_url":"https://api.github.com/repos/bridadan/mbed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bridadan/mbed/merges","archive_url":"https://api.github.com/repos/bridadan/mbed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bridadan/mbed/downloads","issues_url":"https://api.github.com/repos/bridadan/mbed/issues{/number}","pulls_url":"https://api.github.com/repos/bridadan/mbed/pulls{/number}","milestones_url":"https://api.github.com/repos/bridadan/mbed/milestones{/number}","notifications_url":"https://api.github.com/repos/bridadan/mbed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bridadan/mbed/labels{/name}","releases_url":"https://api.github.com/repos/bridadan/mbed/releases{/id}","deployments_url":"https://api.github.com/repos/bridadan/mbed/deployments","created_at":"2015-02-23T18:09:54Z","updated_at":"2016-02-22T21:41:48Z","pushed_at":"2016-08-23T21:44:35Z","git_url":"git://github.com/bridadan/mbed.git","ssh_url":"git@github.com:bridadan/mbed.git","clone_url":"https://github.com/bridadan/mbed.git","svn_url":"https://github.com/bridadan/mbed","homepage":null,"size":57174,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ARMmbed:master","ref":"master","sha":"b396436432d055a5c4a7d0364a1a52177a61bfcf","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":8270972,"name":"mbed-os","full_name":"ARMmbed/mbed-os","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars.githubusercontent.com/u/8916057?v=3","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/mbed-os","description":"ARM mbed OS is a platform operating system designed for the internet of things","fork":false,"url":"https://api.github.com/repos/ARMmbed/mbed-os","forks_url":"https://api.github.com/repos/ARMmbed/mbed-os/forks","keys_url":"https://api.github.com/repos/ARMmbed/mbed-os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/mbed-os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/mbed-os/teams","hooks_url":"https://api.github.com/repos/ARMmbed/mbed-os/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/events","assignees_url":"https://api.github.com/repos/ARMmbed/mbed-os/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/mbed-os/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/mbed-os/tags","blobs_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/mbed-os/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/mbed-os/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/mbed-os/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/mbed-os/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/mbed-os/subscription","commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/mbed-os/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/mbed-os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/mbed-os/merges","archive_url":"https://api.github.com/repos/ARMmbed/mbed-os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/mbed-os/downloads","issues_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/mbed-os/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/mbed-os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/mbed-os/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/mbed-os/deployments","created_at":"2013-02-18T15:23:11Z","updated_at":"2016-08-26T06:39:01Z","pushed_at":"2016-08-26T14:56:23Z","git_url":"git://github.com/ARMmbed/mbed-os.git","ssh_url":"git@github.com:ARMmbed/mbed-os.git","clone_url":"https://github.com/ARMmbed/mbed-os.git","svn_url":"https://github.com/ARMmbed/mbed-os","homepage":"https://mbed.com","size":73302,"stargazers_count":726,"watchers_count":726,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":715,"mirror_url":null,"open_issues_count":342,"forks":715,"open_issues":342,"watchers":726,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455"},"html":{"href":"https://github.com/ARMmbed/mbed-os/pull/2455"},"issue":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2455"},"comments":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2455/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2455/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/f334bd7602c2a4aad982ffdca36ebefa72a0dbd5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sg-","id":496002,"avatar_url":"https://avatars.githubusercontent.com/u/496002?v=3","gravatar_id":"","url":"https://api.github.com/users/sg-","html_url":"https://github.com/sg-","followers_url":"https://api.github.com/users/sg-/followers","following_url":"https://api.github.com/users/sg-/following{/other_user}","gists_url":"https://api.github.com/users/sg-/gists{/gist_id}","starred_url":"https://api.github.com/users/sg-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sg-/subscriptions","organizations_url":"https://api.github.com/users/sg-/orgs","repos_url":"https://api.github.com/users/sg-/repos","events_url":"https://api.github.com/users/sg-/events{/privacy}","received_events_url":"https://api.github.com/users/sg-/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":1,"additions":40,"deletions":57,"changed_files":7}}
{"actor":{"display_login":"sg-"}}