{"action":"created","comment":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments/182343021","pull_request_review_id":113117290,"id":182343021,"diff_hunk":"@@ -302,6 +311,7 @@ int main(int argc, const char *argv[])\n     if( run_test_snprintf() != 0 )\n     {\n         mbedtls_fprintf( stderr, \"the snprintf implementation is broken\\n\" );\n+        platform_teardown();\n         return( 0 );","path":"tests/suites/main_test.function","position":null,"original_position":28,"commit_id":"f13ca9536c80c145e4b96721bb73a21ca8e9f41a","original_commit_id":"a282270a10b42fb0d4d109c3e96ccc745f2095cf","user":{"login":"AndrzejKurek","id":29195988,"avatar_url":"https://avatars0.githubusercontent.com/u/29195988?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrzejKurek","html_url":"https://github.com/AndrzejKurek","followers_url":"https://api.github.com/users/AndrzejKurek/followers","following_url":"https://api.github.com/users/AndrzejKurek/following{/other_user}","gists_url":"https://api.github.com/users/AndrzejKurek/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrzejKurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrzejKurek/subscriptions","organizations_url":"https://api.github.com/users/AndrzejKurek/orgs","repos_url":"https://api.github.com/users/AndrzejKurek/repos","events_url":"https://api.github.com/users/AndrzejKurek/events{/privacy}","received_events_url":"https://api.github.com/users/AndrzejKurek/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-04-18T08:14:57Z","updated_at":"2018-04-18T08:14:57Z","html_url":"https://github.com/ARMmbed/mbedtls/pull/1570#discussion_r182343021","pull_request_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments/182343021"},"html":{"href":"https://github.com/ARMmbed/mbedtls/pull/1570#discussion_r182343021"},"pull_request":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570"}},"in_reply_to_id":182231727},"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570","id":181431168,"html_url":"https://github.com/ARMmbed/mbedtls/pull/1570","diff_url":"https://github.com/ARMmbed/mbedtls/pull/1570.diff","patch_url":"https://github.com/ARMmbed/mbedtls/pull/1570.patch","issue_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1570","number":1570,"state":"open","locked":false,"title":"Platform setup and teardown calls addition to test suites","user":{"login":"AndrzejKurek","id":29195988,"avatar_url":"https://avatars0.githubusercontent.com/u/29195988?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrzejKurek","html_url":"https://github.com/AndrzejKurek","followers_url":"https://api.github.com/users/AndrzejKurek/followers","following_url":"https://api.github.com/users/AndrzejKurek/following{/other_user}","gists_url":"https://api.github.com/users/AndrzejKurek/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrzejKurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrzejKurek/subscriptions","organizations_url":"https://api.github.com/users/AndrzejKurek/orgs","repos_url":"https://api.github.com/users/AndrzejKurek/repos","events_url":"https://api.github.com/users/AndrzejKurek/events{/privacy}","received_events_url":"https://api.github.com/users/AndrzejKurek/received_events","type":"User","site_admin":false},"body":"This PR adds platform setup and teardown calls to test suites and a global platform context object.\r\nThis enables running tests on custom targets requiring an additional setup, and is a step towards accessing the platform context in test suites which will need it.","created_at":"2018-04-13T09:21:53Z","updated_at":"2018-04-18T08:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df3223d448722fe8738a33e5566178802d915265","assignee":{"login":"AndrzejKurek","id":29195988,"avatar_url":"https://avatars0.githubusercontent.com/u/29195988?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrzejKurek","html_url":"https://github.com/AndrzejKurek","followers_url":"https://api.github.com/users/AndrzejKurek/followers","following_url":"https://api.github.com/users/AndrzejKurek/following{/other_user}","gists_url":"https://api.github.com/users/AndrzejKurek/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrzejKurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrzejKurek/subscriptions","organizations_url":"https://api.github.com/users/AndrzejKurek/orgs","repos_url":"https://api.github.com/users/AndrzejKurek/repos","events_url":"https://api.github.com/users/AndrzejKurek/events{/privacy}","received_events_url":"https://api.github.com/users/AndrzejKurek/received_events","type":"User","site_admin":false},"assignees":[{"login":"AndrzejKurek","id":29195988,"avatar_url":"https://avatars0.githubusercontent.com/u/29195988?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrzejKurek","html_url":"https://github.com/AndrzejKurek","followers_url":"https://api.github.com/users/AndrzejKurek/followers","following_url":"https://api.github.com/users/AndrzejKurek/following{/other_user}","gists_url":"https://api.github.com/users/AndrzejKurek/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrzejKurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrzejKurek/subscriptions","organizations_url":"https://api.github.com/users/AndrzejKurek/orgs","repos_url":"https://api.github.com/users/AndrzejKurek/repos","events_url":"https://api.github.com/users/AndrzejKurek/events{/privacy}","received_events_url":"https://api.github.com/users/AndrzejKurek/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"hanno-arm","id":26892988,"avatar_url":"https://avatars1.githubusercontent.com/u/26892988?v=4","gravatar_id":"","url":"https://api.github.com/users/hanno-arm","html_url":"https://github.com/hanno-arm","followers_url":"https://api.github.com/users/hanno-arm/followers","following_url":"https://api.github.com/users/hanno-arm/following{/other_user}","gists_url":"https://api.github.com/users/hanno-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/hanno-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanno-arm/subscriptions","organizations_url":"https://api.github.com/users/hanno-arm/orgs","repos_url":"https://api.github.com/users/hanno-arm/repos","events_url":"https://api.github.com/users/hanno-arm/events{/privacy}","received_events_url":"https://api.github.com/users/hanno-arm/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":19280386,"url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":408190313,"url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/mbed%20TLS%20team","name":"mbed TLS team","color":"66e0ff","default":false},{"id":685773676,"url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/needs%20design%20approval","name":"needs design approval","color":"5319e7","default":false},{"id":724592723,"url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/runCI","name":"runCI","color":"56f20e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1570/comments","statuses_url":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/f13ca9536c80c145e4b96721bb73a21ca8e9f41a","head":{"label":"ARMmbed:feature-platform-setup","ref":"feature-platform-setup","sha":"f13ca9536c80c145e4b96721bb73a21ca8e9f41a","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","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":6687936,"name":"mbedtls","full_name":"ARMmbed/mbedtls","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","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/mbedtls","description":"An open source, portable, easy to use, readable and flexible SSL library","fork":false,"url":"https://api.github.com/repos/ARMmbed/mbedtls","forks_url":"https://api.github.com/repos/ARMmbed/mbedtls/forks","keys_url":"https://api.github.com/repos/ARMmbed/mbedtls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/mbedtls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/mbedtls/teams","hooks_url":"https://api.github.com/repos/ARMmbed/mbedtls/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/mbedtls/events","assignees_url":"https://api.github.com/repos/ARMmbed/mbedtls/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/mbedtls/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/mbedtls/tags","blobs_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/mbedtls/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/mbedtls/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/mbedtls/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/mbedtls/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/mbedtls/subscription","commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/mbedtls/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/mbedtls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/mbedtls/merges","archive_url":"https://api.github.com/repos/ARMmbed/mbedtls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/mbedtls/downloads","issues_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/mbedtls/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/mbedtls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/mbedtls/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/mbedtls/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/mbedtls/deployments","created_at":"2012-11-14T13:13:13Z","updated_at":"2018-04-16T08:26:31Z","pushed_at":"2018-04-18T08:14:42Z","git_url":"git://github.com/ARMmbed/mbedtls.git","ssh_url":"git@github.com:ARMmbed/mbedtls.git","clone_url":"https://github.com/ARMmbed/mbedtls.git","svn_url":"https://github.com/ARMmbed/mbedtls","homepage":"https://tls.mbed.org","size":26457,"stargazers_count":1345,"watchers_count":1345,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":835,"mirror_url":null,"archived":false,"open_issues_count":426,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":835,"open_issues":426,"watchers":1345,"default_branch":"development"}},"base":{"label":"ARMmbed:development","ref":"development","sha":"4ca9a457561fc774ca54898a72754bf53d60dba2","user":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","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":6687936,"name":"mbedtls","full_name":"ARMmbed/mbedtls","owner":{"login":"ARMmbed","id":8916057,"avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","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/mbedtls","description":"An open source, portable, easy to use, readable and flexible SSL library","fork":false,"url":"https://api.github.com/repos/ARMmbed/mbedtls","forks_url":"https://api.github.com/repos/ARMmbed/mbedtls/forks","keys_url":"https://api.github.com/repos/ARMmbed/mbedtls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/mbedtls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/mbedtls/teams","hooks_url":"https://api.github.com/repos/ARMmbed/mbedtls/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/mbedtls/events","assignees_url":"https://api.github.com/repos/ARMmbed/mbedtls/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/mbedtls/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/mbedtls/tags","blobs_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/mbedtls/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/mbedtls/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/mbedtls/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/mbedtls/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/mbedtls/subscription","commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/mbedtls/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/mbedtls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/mbedtls/merges","archive_url":"https://api.github.com/repos/ARMmbed/mbedtls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/mbedtls/downloads","issues_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/mbedtls/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/mbedtls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/mbedtls/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/mbedtls/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/mbedtls/deployments","created_at":"2012-11-14T13:13:13Z","updated_at":"2018-04-16T08:26:31Z","pushed_at":"2018-04-18T08:14:42Z","git_url":"git://github.com/ARMmbed/mbedtls.git","ssh_url":"git@github.com:ARMmbed/mbedtls.git","clone_url":"https://github.com/ARMmbed/mbedtls.git","svn_url":"https://github.com/ARMmbed/mbedtls","homepage":"https://tls.mbed.org","size":26457,"stargazers_count":1345,"watchers_count":1345,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":835,"mirror_url":null,"archived":false,"open_issues_count":426,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":835,"open_issues":426,"watchers":1345,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570"},"html":{"href":"https://github.com/ARMmbed/mbedtls/pull/1570"},"issue":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1570"},"comments":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/issues/1570/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/1570/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/f13ca9536c80c145e4b96721bb73a21ca8e9f41a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AndrzejKurek"}}