{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28","id":191932455,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxOTMyNDU1","html_url":"https://github.com/HeronMkII/lib-common/pull/28","diff_url":"https://github.com/HeronMkII/lib-common/pull/28.diff","patch_url":"https://github.com/HeronMkII/lib-common/pull/28.patch","issue_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/28","number":28,"state":"closed","locked":false,"title":"Test harness and libtest","user":{"login":"siddMahen","id":823940,"node_id":"MDQ6VXNlcjgyMzk0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/823940?v=4","gravatar_id":"","url":"https://api.github.com/users/siddMahen","html_url":"https://github.com/siddMahen","followers_url":"https://api.github.com/users/siddMahen/followers","following_url":"https://api.github.com/users/siddMahen/following{/other_user}","gists_url":"https://api.github.com/users/siddMahen/gists{/gist_id}","starred_url":"https://api.github.com/users/siddMahen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddMahen/subscriptions","organizations_url":"https://api.github.com/users/siddMahen/orgs","repos_url":"https://api.github.com/users/siddMahen/repos","events_url":"https://api.github.com/users/siddMahen/events{/privacy}","received_events_url":"https://api.github.com/users/siddMahen/received_events","type":"User","site_admin":false},"body":"To see this in action, connect a 32m1 with UART RX pin connected to the programmer. This requires Python v2.6+. **WARNING** Make sure the UART TX pin is not connected. Programming the 32m1 with the TX pin connected can cause fuse bits to reset.\r\n\r\nNow, run\r\n\r\n```\r\n$ python harness.py -p <32m1 port> -d tests/\r\n```\r\n\r\nWhen prompted to start, do not type `y` right away; connect the UART TX pin, and then proceed.\r\n\r\nYou should see output like:\r\n\r\n```\r\nStart? (y/n) y\r\nTEST NAME: Print a string literal\r\nThe quick brown fox jumped over the lazy dog.\r\nDONE\r\nTEST NAME: Print w/ formatting\r\n0 1 2 3 4 5 6 7 8 9\r\nDONE\r\nTEST NAME: Print w/ fancy formatting\r\n0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f\r\nDONE\r\n```","created_at":"2018-06-01T04:37:21Z","updated_at":"2018-06-08T04:58:55Z","closed_at":"2018-06-08T04:58:55Z","merged_at":"2018-06-08T04:58:55Z","merge_commit_sha":"f7c581bc140b9aa07f39419cf56a7a6f3b86a557","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28/commits","review_comments_url":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28/comments","review_comment_url":"https://api.github.com/repos/HeronMkII/lib-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/28/comments","statuses_url":"https://api.github.com/repos/HeronMkII/lib-common/statuses/8b5730513435b3b39937886ab4cd7e78c3d48852","head":{"label":"HeronMkII:test-harness","ref":"test-harness","sha":"8b5730513435b3b39937886ab4cd7e78c3d48852","user":{"login":"HeronMkII","id":26915710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTE1NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/26915710?v=4","gravatar_id":"","url":"https://api.github.com/users/HeronMkII","html_url":"https://github.com/HeronMkII","followers_url":"https://api.github.com/users/HeronMkII/followers","following_url":"https://api.github.com/users/HeronMkII/following{/other_user}","gists_url":"https://api.github.com/users/HeronMkII/gists{/gist_id}","starred_url":"https://api.github.com/users/HeronMkII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeronMkII/subscriptions","organizations_url":"https://api.github.com/users/HeronMkII/orgs","repos_url":"https://api.github.com/users/HeronMkII/repos","events_url":"https://api.github.com/users/HeronMkII/events{/privacy}","received_events_url":"https://api.github.com/users/HeronMkII/received_events","type":"Organization","site_admin":false},"repo":{"id":102237297,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIyMzcyOTc=","name":"lib-common","full_name":"HeronMkII/lib-common","owner":{"login":"HeronMkII","id":26915710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTE1NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/26915710?v=4","gravatar_id":"","url":"https://api.github.com/users/HeronMkII","html_url":"https://github.com/HeronMkII","followers_url":"https://api.github.com/users/HeronMkII/followers","following_url":"https://api.github.com/users/HeronMkII/following{/other_user}","gists_url":"https://api.github.com/users/HeronMkII/gists{/gist_id}","starred_url":"https://api.github.com/users/HeronMkII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeronMkII/subscriptions","organizations_url":"https://api.github.com/users/HeronMkII/orgs","repos_url":"https://api.github.com/users/HeronMkII/repos","events_url":"https://api.github.com/users/HeronMkII/events{/privacy}","received_events_url":"https://api.github.com/users/HeronMkII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HeronMkII/lib-common","description":"Common libraries to be used on all subsystem microcontrollers.","fork":false,"url":"https://api.github.com/repos/HeronMkII/lib-common","forks_url":"https://api.github.com/repos/HeronMkII/lib-common/forks","keys_url":"https://api.github.com/repos/HeronMkII/lib-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HeronMkII/lib-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HeronMkII/lib-common/teams","hooks_url":"https://api.github.com/repos/HeronMkII/lib-common/hooks","issue_events_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/events{/number}","events_url":"https://api.github.com/repos/HeronMkII/lib-common/events","assignees_url":"https://api.github.com/repos/HeronMkII/lib-common/assignees{/user}","branches_url":"https://api.github.com/repos/HeronMkII/lib-common/branches{/branch}","tags_url":"https://api.github.com/repos/HeronMkII/lib-common/tags","blobs_url":"https://api.github.com/repos/HeronMkII/lib-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HeronMkII/lib-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HeronMkII/lib-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/HeronMkII/lib-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HeronMkII/lib-common/statuses/{sha}","languages_url":"https://api.github.com/repos/HeronMkII/lib-common/languages","stargazers_url":"https://api.github.com/repos/HeronMkII/lib-common/stargazers","contributors_url":"https://api.github.com/repos/HeronMkII/lib-common/contributors","subscribers_url":"https://api.github.com/repos/HeronMkII/lib-common/subscribers","subscription_url":"https://api.github.com/repos/HeronMkII/lib-common/subscription","commits_url":"https://api.github.com/repos/HeronMkII/lib-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/HeronMkII/lib-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/HeronMkII/lib-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/HeronMkII/lib-common/contents/{+path}","compare_url":"https://api.github.com/repos/HeronMkII/lib-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HeronMkII/lib-common/merges","archive_url":"https://api.github.com/repos/HeronMkII/lib-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HeronMkII/lib-common/downloads","issues_url":"https://api.github.com/repos/HeronMkII/lib-common/issues{/number}","pulls_url":"https://api.github.com/repos/HeronMkII/lib-common/pulls{/number}","milestones_url":"https://api.github.com/repos/HeronMkII/lib-common/milestones{/number}","notifications_url":"https://api.github.com/repos/HeronMkII/lib-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HeronMkII/lib-common/labels{/name}","releases_url":"https://api.github.com/repos/HeronMkII/lib-common/releases{/id}","deployments_url":"https://api.github.com/repos/HeronMkII/lib-common/deployments","created_at":"2017-09-03T02:56:58Z","updated_at":"2018-06-07T16:40:04Z","pushed_at":"2018-06-08T04:58:55Z","git_url":"git://github.com/HeronMkII/lib-common.git","ssh_url":"git@github.com:HeronMkII/lib-common.git","clone_url":"https://github.com/HeronMkII/lib-common.git","svn_url":"https://github.com/HeronMkII/lib-common","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"HeronMkII:master","ref":"master","sha":"f4bae7c27d7b1e01eeb452562fcd973b781c55a9","user":{"login":"HeronMkII","id":26915710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTE1NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/26915710?v=4","gravatar_id":"","url":"https://api.github.com/users/HeronMkII","html_url":"https://github.com/HeronMkII","followers_url":"https://api.github.com/users/HeronMkII/followers","following_url":"https://api.github.com/users/HeronMkII/following{/other_user}","gists_url":"https://api.github.com/users/HeronMkII/gists{/gist_id}","starred_url":"https://api.github.com/users/HeronMkII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeronMkII/subscriptions","organizations_url":"https://api.github.com/users/HeronMkII/orgs","repos_url":"https://api.github.com/users/HeronMkII/repos","events_url":"https://api.github.com/users/HeronMkII/events{/privacy}","received_events_url":"https://api.github.com/users/HeronMkII/received_events","type":"Organization","site_admin":false},"repo":{"id":102237297,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIyMzcyOTc=","name":"lib-common","full_name":"HeronMkII/lib-common","owner":{"login":"HeronMkII","id":26915710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTE1NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/26915710?v=4","gravatar_id":"","url":"https://api.github.com/users/HeronMkII","html_url":"https://github.com/HeronMkII","followers_url":"https://api.github.com/users/HeronMkII/followers","following_url":"https://api.github.com/users/HeronMkII/following{/other_user}","gists_url":"https://api.github.com/users/HeronMkII/gists{/gist_id}","starred_url":"https://api.github.com/users/HeronMkII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeronMkII/subscriptions","organizations_url":"https://api.github.com/users/HeronMkII/orgs","repos_url":"https://api.github.com/users/HeronMkII/repos","events_url":"https://api.github.com/users/HeronMkII/events{/privacy}","received_events_url":"https://api.github.com/users/HeronMkII/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HeronMkII/lib-common","description":"Common libraries to be used on all subsystem microcontrollers.","fork":false,"url":"https://api.github.com/repos/HeronMkII/lib-common","forks_url":"https://api.github.com/repos/HeronMkII/lib-common/forks","keys_url":"https://api.github.com/repos/HeronMkII/lib-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HeronMkII/lib-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HeronMkII/lib-common/teams","hooks_url":"https://api.github.com/repos/HeronMkII/lib-common/hooks","issue_events_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/events{/number}","events_url":"https://api.github.com/repos/HeronMkII/lib-common/events","assignees_url":"https://api.github.com/repos/HeronMkII/lib-common/assignees{/user}","branches_url":"https://api.github.com/repos/HeronMkII/lib-common/branches{/branch}","tags_url":"https://api.github.com/repos/HeronMkII/lib-common/tags","blobs_url":"https://api.github.com/repos/HeronMkII/lib-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HeronMkII/lib-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HeronMkII/lib-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/HeronMkII/lib-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HeronMkII/lib-common/statuses/{sha}","languages_url":"https://api.github.com/repos/HeronMkII/lib-common/languages","stargazers_url":"https://api.github.com/repos/HeronMkII/lib-common/stargazers","contributors_url":"https://api.github.com/repos/HeronMkII/lib-common/contributors","subscribers_url":"https://api.github.com/repos/HeronMkII/lib-common/subscribers","subscription_url":"https://api.github.com/repos/HeronMkII/lib-common/subscription","commits_url":"https://api.github.com/repos/HeronMkII/lib-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/HeronMkII/lib-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/HeronMkII/lib-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/HeronMkII/lib-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/HeronMkII/lib-common/contents/{+path}","compare_url":"https://api.github.com/repos/HeronMkII/lib-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HeronMkII/lib-common/merges","archive_url":"https://api.github.com/repos/HeronMkII/lib-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HeronMkII/lib-common/downloads","issues_url":"https://api.github.com/repos/HeronMkII/lib-common/issues{/number}","pulls_url":"https://api.github.com/repos/HeronMkII/lib-common/pulls{/number}","milestones_url":"https://api.github.com/repos/HeronMkII/lib-common/milestones{/number}","notifications_url":"https://api.github.com/repos/HeronMkII/lib-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HeronMkII/lib-common/labels{/name}","releases_url":"https://api.github.com/repos/HeronMkII/lib-common/releases{/id}","deployments_url":"https://api.github.com/repos/HeronMkII/lib-common/deployments","created_at":"2017-09-03T02:56:58Z","updated_at":"2018-06-07T16:40:04Z","pushed_at":"2018-06-08T04:58:55Z","git_url":"git://github.com/HeronMkII/lib-common.git","ssh_url":"git@github.com:HeronMkII/lib-common.git","clone_url":"https://github.com/HeronMkII/lib-common.git","svn_url":"https://github.com/HeronMkII/lib-common","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28"},"html":{"href":"https://github.com/HeronMkII/lib-common/pull/28"},"issue":{"href":"https://api.github.com/repos/HeronMkII/lib-common/issues/28"},"comments":{"href":"https://api.github.com/repos/HeronMkII/lib-common/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/HeronMkII/lib-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HeronMkII/lib-common/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/HeronMkII/lib-common/statuses/8b5730513435b3b39937886ab4cd7e78c3d48852"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"siddMahen","id":823940,"node_id":"MDQ6VXNlcjgyMzk0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/823940?v=4","gravatar_id":"","url":"https://api.github.com/users/siddMahen","html_url":"https://github.com/siddMahen","followers_url":"https://api.github.com/users/siddMahen/followers","following_url":"https://api.github.com/users/siddMahen/following{/other_user}","gists_url":"https://api.github.com/users/siddMahen/gists{/gist_id}","starred_url":"https://api.github.com/users/siddMahen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddMahen/subscriptions","organizations_url":"https://api.github.com/users/siddMahen/orgs","repos_url":"https://api.github.com/users/siddMahen/repos","events_url":"https://api.github.com/users/siddMahen/events{/privacy}","received_events_url":"https://api.github.com/users/siddMahen/received_events","type":"User","site_admin":false},"comments":21,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":689,"deletions":133,"changed_files":42}}
{"actor":{"display_login":"siddMahen"}}