{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24","id":32206655,"html_url":"https://github.com/travitch/whole-program-llvm/pull/24","diff_url":"https://github.com/travitch/whole-program-llvm/pull/24.diff","patch_url":"https://github.com/travitch/whole-program-llvm/pull/24.patch","issue_url":"https://api.github.com/repos/travitch/whole-program-llvm/issues/24","number":24,"state":"open","locked":false,"title":"updated test and fixed part of #23","user":{"login":"BenjaminSchubert","id":1672192,"avatar_url":"https://avatars.githubusercontent.com/u/1672192?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminSchubert","html_url":"https://github.com/BenjaminSchubert","followers_url":"https://api.github.com/users/BenjaminSchubert/followers","following_url":"https://api.github.com/users/BenjaminSchubert/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminSchubert/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminSchubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminSchubert/subscriptions","organizations_url":"https://api.github.com/users/BenjaminSchubert/orgs","repos_url":"https://api.github.com/users/BenjaminSchubert/repos","events_url":"https://api.github.com/users/BenjaminSchubert/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminSchubert/received_events","type":"User","site_admin":false},"body":"I completely rewrote the tests in a pythonic way. Now running\r\nthese tests is as easy as python -m unittest discover in test/\r\n\r\nI'm planning to add more tests and especially unittest for\r\ncommand line parsing which has several issues (-mllvm flags)\r\nfor instance.\r\n\r\nThe only test I did not move is :\r\n\r\n`mystery:\r\n\totool -X -s __LLVM __llvm_bc main > main.otool\r\n\txxd -r  main.otool\r\n\txxd -r  main.otool main.xxd`\r\n\r\nas I could not understand what it does and could not find otool\r\non my ubuntu system. (any help there ?)\r\n\r\nThe fix for as is because it is not in the top-level directory.\r\n\r\nI would be of the opinion of moving it to the top level directory. What would you think @travitch ?\r\n\r\nI also know that this pull request is quite a big change, so if you would prefer not integrate it, I can also just create a patch for the #23 and resubmit it.","created_at":"2015-03-30T08:33:28Z","updated_at":"2015-03-30T08:33:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24/commits","review_comments_url":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24/comments","review_comment_url":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/travitch/whole-program-llvm/issues/24/comments","statuses_url":"https://api.github.com/repos/travitch/whole-program-llvm/statuses/a08018cdcff4128a12981f2cda940d1479beaa8b","head":{"label":"BenjaminSchubert:master","ref":"master","sha":"a08018cdcff4128a12981f2cda940d1479beaa8b","user":{"login":"BenjaminSchubert","id":1672192,"avatar_url":"https://avatars.githubusercontent.com/u/1672192?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminSchubert","html_url":"https://github.com/BenjaminSchubert","followers_url":"https://api.github.com/users/BenjaminSchubert/followers","following_url":"https://api.github.com/users/BenjaminSchubert/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminSchubert/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminSchubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminSchubert/subscriptions","organizations_url":"https://api.github.com/users/BenjaminSchubert/orgs","repos_url":"https://api.github.com/users/BenjaminSchubert/repos","events_url":"https://api.github.com/users/BenjaminSchubert/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminSchubert/received_events","type":"User","site_admin":false},"repo":{"id":28309014,"name":"whole-program-llvm","full_name":"BenjaminSchubert/whole-program-llvm","owner":{"login":"BenjaminSchubert","id":1672192,"avatar_url":"https://avatars.githubusercontent.com/u/1672192?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminSchubert","html_url":"https://github.com/BenjaminSchubert","followers_url":"https://api.github.com/users/BenjaminSchubert/followers","following_url":"https://api.github.com/users/BenjaminSchubert/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminSchubert/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminSchubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminSchubert/subscriptions","organizations_url":"https://api.github.com/users/BenjaminSchubert/orgs","repos_url":"https://api.github.com/users/BenjaminSchubert/repos","events_url":"https://api.github.com/users/BenjaminSchubert/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminSchubert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenjaminSchubert/whole-program-llvm","description":"A wrapper script to build whole-program LLVM bitcode files","fork":true,"url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm","forks_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/forks","keys_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/teams","hooks_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/hooks","issue_events_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/issues/events{/number}","events_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/events","assignees_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/assignees{/user}","branches_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/branches{/branch}","tags_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/tags","blobs_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/statuses/{sha}","languages_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/languages","stargazers_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/stargazers","contributors_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/contributors","subscribers_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/subscribers","subscription_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/subscription","commits_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/contents/{+path}","compare_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/merges","archive_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/downloads","issues_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/issues{/number}","pulls_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/pulls{/number}","milestones_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/milestones{/number}","notifications_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/labels{/name}","releases_url":"https://api.github.com/repos/BenjaminSchubert/whole-program-llvm/releases{/id}","created_at":"2014-12-21T18:41:43Z","updated_at":"2015-03-30T08:30:42Z","pushed_at":"2015-03-30T08:30:42Z","git_url":"git://github.com/BenjaminSchubert/whole-program-llvm.git","ssh_url":"git@github.com:BenjaminSchubert/whole-program-llvm.git","clone_url":"https://github.com/BenjaminSchubert/whole-program-llvm.git","svn_url":"https://github.com/BenjaminSchubert/whole-program-llvm","homepage":"","size":192,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"travitch:master","ref":"master","sha":"a82b88dfcf77540adcf441e7146a760997d0d61b","user":{"login":"travitch","id":354470,"avatar_url":"https://avatars.githubusercontent.com/u/354470?v=3","gravatar_id":"","url":"https://api.github.com/users/travitch","html_url":"https://github.com/travitch","followers_url":"https://api.github.com/users/travitch/followers","following_url":"https://api.github.com/users/travitch/following{/other_user}","gists_url":"https://api.github.com/users/travitch/gists{/gist_id}","starred_url":"https://api.github.com/users/travitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travitch/subscriptions","organizations_url":"https://api.github.com/users/travitch/orgs","repos_url":"https://api.github.com/users/travitch/repos","events_url":"https://api.github.com/users/travitch/events{/privacy}","received_events_url":"https://api.github.com/users/travitch/received_events","type":"User","site_admin":false},"repo":{"id":1988041,"name":"whole-program-llvm","full_name":"travitch/whole-program-llvm","owner":{"login":"travitch","id":354470,"avatar_url":"https://avatars.githubusercontent.com/u/354470?v=3","gravatar_id":"","url":"https://api.github.com/users/travitch","html_url":"https://github.com/travitch","followers_url":"https://api.github.com/users/travitch/followers","following_url":"https://api.github.com/users/travitch/following{/other_user}","gists_url":"https://api.github.com/users/travitch/gists{/gist_id}","starred_url":"https://api.github.com/users/travitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travitch/subscriptions","organizations_url":"https://api.github.com/users/travitch/orgs","repos_url":"https://api.github.com/users/travitch/repos","events_url":"https://api.github.com/users/travitch/events{/privacy}","received_events_url":"https://api.github.com/users/travitch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/travitch/whole-program-llvm","description":"A wrapper script to build whole-program LLVM bitcode files","fork":false,"url":"https://api.github.com/repos/travitch/whole-program-llvm","forks_url":"https://api.github.com/repos/travitch/whole-program-llvm/forks","keys_url":"https://api.github.com/repos/travitch/whole-program-llvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/travitch/whole-program-llvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/travitch/whole-program-llvm/teams","hooks_url":"https://api.github.com/repos/travitch/whole-program-llvm/hooks","issue_events_url":"https://api.github.com/repos/travitch/whole-program-llvm/issues/events{/number}","events_url":"https://api.github.com/repos/travitch/whole-program-llvm/events","assignees_url":"https://api.github.com/repos/travitch/whole-program-llvm/assignees{/user}","branches_url":"https://api.github.com/repos/travitch/whole-program-llvm/branches{/branch}","tags_url":"https://api.github.com/repos/travitch/whole-program-llvm/tags","blobs_url":"https://api.github.com/repos/travitch/whole-program-llvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/travitch/whole-program-llvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/travitch/whole-program-llvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/travitch/whole-program-llvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/travitch/whole-program-llvm/statuses/{sha}","languages_url":"https://api.github.com/repos/travitch/whole-program-llvm/languages","stargazers_url":"https://api.github.com/repos/travitch/whole-program-llvm/stargazers","contributors_url":"https://api.github.com/repos/travitch/whole-program-llvm/contributors","subscribers_url":"https://api.github.com/repos/travitch/whole-program-llvm/subscribers","subscription_url":"https://api.github.com/repos/travitch/whole-program-llvm/subscription","commits_url":"https://api.github.com/repos/travitch/whole-program-llvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/travitch/whole-program-llvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/travitch/whole-program-llvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/travitch/whole-program-llvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/travitch/whole-program-llvm/contents/{+path}","compare_url":"https://api.github.com/repos/travitch/whole-program-llvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/travitch/whole-program-llvm/merges","archive_url":"https://api.github.com/repos/travitch/whole-program-llvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/travitch/whole-program-llvm/downloads","issues_url":"https://api.github.com/repos/travitch/whole-program-llvm/issues{/number}","pulls_url":"https://api.github.com/repos/travitch/whole-program-llvm/pulls{/number}","milestones_url":"https://api.github.com/repos/travitch/whole-program-llvm/milestones{/number}","notifications_url":"https://api.github.com/repos/travitch/whole-program-llvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/travitch/whole-program-llvm/labels{/name}","releases_url":"https://api.github.com/repos/travitch/whole-program-llvm/releases{/id}","created_at":"2011-07-02T15:44:44Z","updated_at":"2015-03-19T20:40:54Z","pushed_at":"2015-03-30T08:33:28Z","git_url":"git://github.com/travitch/whole-program-llvm.git","ssh_url":"git@github.com:travitch/whole-program-llvm.git","clone_url":"https://github.com/travitch/whole-program-llvm.git","svn_url":"https://github.com/travitch/whole-program-llvm","homepage":"","size":348,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":5,"forks":26,"open_issues":5,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24"},"html":{"href":"https://github.com/travitch/whole-program-llvm/pull/24"},"issue":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/issues/24"},"comments":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/travitch/whole-program-llvm/statuses/a08018cdcff4128a12981f2cda940d1479beaa8b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":232,"deletions":53,"changed_files":11}}