{"action":"opened","number":566,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566","id":80580614,"html_url":"https://github.com/ARMmbed/mbedtls/pull/566","diff_url":"https://github.com/ARMmbed/mbedtls/pull/566.diff","patch_url":"https://github.com/ARMmbed/mbedtls/pull/566.patch","issue_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/566","number":566,"state":"open","locked":false,"title":"Automate generation of mbed 5.0 tests","user":{"login":"andresag01","id":3746901,"avatar_url":"https://avatars.githubusercontent.com/u/3746901?v=3","gravatar_id":"","url":"https://api.github.com/users/andresag01","html_url":"https://github.com/andresag01","followers_url":"https://api.github.com/users/andresag01/followers","following_url":"https://api.github.com/users/andresag01/following{/other_user}","gists_url":"https://api.github.com/users/andresag01/gists{/gist_id}","starred_url":"https://api.github.com/users/andresag01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresag01/subscriptions","organizations_url":"https://api.github.com/users/andresag01/orgs","repos_url":"https://api.github.com/users/andresag01/repos","events_url":"https://api.github.com/users/andresag01/events{/privacy}","received_events_url":"https://api.github.com/users/andresag01/received_events","type":"User","site_admin":false},"body":"This change modifies the mbedTLS test infrastructure to automate the generation of C++ test code that can be used for on target testing on the mbed 5.0 platform with mbed-cli and mbed greentea. The changes include:\r\n\r\n1. Modify the tests/scripts/generate_code.pl script to accept a --mbed command line flag that enables the generation of tests for mbed 5.0.\r\n2. Create/modify existing .function code to create compatible tests for all platforms when required.\r\n3. Modify tests/Makefile to properly use the generate_code.pl script's new command line interface and add a target to generate all .cpp files.\r\n4. Modify the test suite code in .function files to fix the compiler errors thrown by C++. Recall that the original mbedTLS tests are written in C.\r\n\r\nDetailed documentation on how to use the generated C++ code can be found at the head comment of the tests/scripts/generate_code.pl script.","created_at":"2016-08-09T08:33:02Z","updated_at":"2016-08-09T08:33:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/566/comments","statuses_url":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/4310a7b7aa09ac8df6724687518ee66799c2507c","head":{"label":"andresag01:generate_mbed_tests","ref":"generate_mbed_tests","sha":"4310a7b7aa09ac8df6724687518ee66799c2507c","user":{"login":"andresag01","id":3746901,"avatar_url":"https://avatars.githubusercontent.com/u/3746901?v=3","gravatar_id":"","url":"https://api.github.com/users/andresag01","html_url":"https://github.com/andresag01","followers_url":"https://api.github.com/users/andresag01/followers","following_url":"https://api.github.com/users/andresag01/following{/other_user}","gists_url":"https://api.github.com/users/andresag01/gists{/gist_id}","starred_url":"https://api.github.com/users/andresag01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresag01/subscriptions","organizations_url":"https://api.github.com/users/andresag01/orgs","repos_url":"https://api.github.com/users/andresag01/repos","events_url":"https://api.github.com/users/andresag01/events{/privacy}","received_events_url":"https://api.github.com/users/andresag01/received_events","type":"User","site_admin":false},"repo":{"id":63075867,"name":"mbedtls","full_name":"andresag01/mbedtls","owner":{"login":"andresag01","id":3746901,"avatar_url":"https://avatars.githubusercontent.com/u/3746901?v=3","gravatar_id":"","url":"https://api.github.com/users/andresag01","html_url":"https://github.com/andresag01","followers_url":"https://api.github.com/users/andresag01/followers","following_url":"https://api.github.com/users/andresag01/following{/other_user}","gists_url":"https://api.github.com/users/andresag01/gists{/gist_id}","starred_url":"https://api.github.com/users/andresag01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresag01/subscriptions","organizations_url":"https://api.github.com/users/andresag01/orgs","repos_url":"https://api.github.com/users/andresag01/repos","events_url":"https://api.github.com/users/andresag01/events{/privacy}","received_events_url":"https://api.github.com/users/andresag01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresag01/mbedtls","description":"An open source, portable, easy to use, readable and flexible SSL library","fork":true,"url":"https://api.github.com/repos/andresag01/mbedtls","forks_url":"https://api.github.com/repos/andresag01/mbedtls/forks","keys_url":"https://api.github.com/repos/andresag01/mbedtls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresag01/mbedtls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresag01/mbedtls/teams","hooks_url":"https://api.github.com/repos/andresag01/mbedtls/hooks","issue_events_url":"https://api.github.com/repos/andresag01/mbedtls/issues/events{/number}","events_url":"https://api.github.com/repos/andresag01/mbedtls/events","assignees_url":"https://api.github.com/repos/andresag01/mbedtls/assignees{/user}","branches_url":"https://api.github.com/repos/andresag01/mbedtls/branches{/branch}","tags_url":"https://api.github.com/repos/andresag01/mbedtls/tags","blobs_url":"https://api.github.com/repos/andresag01/mbedtls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresag01/mbedtls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresag01/mbedtls/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresag01/mbedtls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresag01/mbedtls/statuses/{sha}","languages_url":"https://api.github.com/repos/andresag01/mbedtls/languages","stargazers_url":"https://api.github.com/repos/andresag01/mbedtls/stargazers","contributors_url":"https://api.github.com/repos/andresag01/mbedtls/contributors","subscribers_url":"https://api.github.com/repos/andresag01/mbedtls/subscribers","subscription_url":"https://api.github.com/repos/andresag01/mbedtls/subscription","commits_url":"https://api.github.com/repos/andresag01/mbedtls/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresag01/mbedtls/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresag01/mbedtls/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresag01/mbedtls/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresag01/mbedtls/contents/{+path}","compare_url":"https://api.github.com/repos/andresag01/mbedtls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresag01/mbedtls/merges","archive_url":"https://api.github.com/repos/andresag01/mbedtls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresag01/mbedtls/downloads","issues_url":"https://api.github.com/repos/andresag01/mbedtls/issues{/number}","pulls_url":"https://api.github.com/repos/andresag01/mbedtls/pulls{/number}","milestones_url":"https://api.github.com/repos/andresag01/mbedtls/milestones{/number}","notifications_url":"https://api.github.com/repos/andresag01/mbedtls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresag01/mbedtls/labels{/name}","releases_url":"https://api.github.com/repos/andresag01/mbedtls/releases{/id}","deployments_url":"https://api.github.com/repos/andresag01/mbedtls/deployments","created_at":"2016-07-11T14:40:33Z","updated_at":"2016-07-11T14:40:38Z","pushed_at":"2016-08-09T08:24:02Z","git_url":"git://github.com/andresag01/mbedtls.git","ssh_url":"git@github.com:andresag01/mbedtls.git","clone_url":"https://github.com/andresag01/mbedtls.git","svn_url":"https://github.com/andresag01/mbedtls","homepage":"https://tls.mbed.org","size":21039,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"ARMmbed:development","ref":"development","sha":"1e4ec667a4dd5f06ccc41d69cdef3e07f92fa242","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":6687936,"name":"mbedtls","full_name":"ARMmbed/mbedtls","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/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":"2016-08-09T01:26:07Z","pushed_at":"2016-08-09T08:33:02Z","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":33793,"stargazers_count":686,"watchers_count":686,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":410,"mirror_url":null,"open_issues_count":138,"forks":410,"open_issues":138,"watchers":686,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566"},"html":{"href":"https://github.com/ARMmbed/mbedtls/pull/566"},"issue":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/issues/566"},"comments":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/issues/566/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/pulls/566/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/mbedtls/statuses/4310a7b7aa09ac8df6724687518ee66799c2507c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":758,"deletions":198,"changed_files":16}}
{"actor":{"display_login":"andresag01"}}