{"action":"closed","number":70,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70","id":48465436,"html_url":"https://github.com/jenkinsci/warnings-plugin/pull/70","diff_url":"https://github.com/jenkinsci/warnings-plugin/pull/70.diff","patch_url":"https://github.com/jenkinsci/warnings-plugin/pull/70.patch","issue_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/70","number":70,"state":"closed","locked":false,"title":"Test cases for warning categories from gcc and sun C++ compilers","user":{"login":"okapia","id":228776,"avatar_url":"https://avatars.githubusercontent.com/u/228776?v=3","gravatar_id":"","url":"https://api.github.com/users/okapia","html_url":"https://github.com/okapia","followers_url":"https://api.github.com/users/okapia/followers","following_url":"https://api.github.com/users/okapia/following{/other_user}","gists_url":"https://api.github.com/users/okapia/gists{/gist_id}","starred_url":"https://api.github.com/users/okapia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okapia/subscriptions","organizations_url":"https://api.github.com/users/okapia/orgs","repos_url":"https://api.github.com/users/okapia/repos","events_url":"https://api.github.com/users/okapia/events{/privacy}","received_events_url":"https://api.github.com/users/okapia/received_events","type":"User","site_admin":false},"body":"All this adds is a couple of test cases. This follows on from the previous (#68) pull request where you asked what happens if a user doesn't use -errtags=yes. So this adds a test case for a warning that might result. For gcc, there didn't appear to be any test cases for the converse situation where -fdiagnostics-show-option is used so this adds one. Note that with gcc, this is actually now the default and -fno-diagnostics-show-option is needed to disable it.\r\n\r\nBehaviour is not entirely consistent between the gcc and Sun C++ parsers. For the gnu compiler, the categories are all prefixed with either \"Warning:\" or \"Error:\". This seems superfluous to me given that we have the priority. Gcc is also including the option description in the warning description.","created_at":"2015-10-22T14:36:11Z","updated_at":"2015-11-29T09:46:19Z","closed_at":"2015-11-29T09:46:19Z","merged_at":"2015-11-29T09:46:19Z","merge_commit_sha":"8705c31d200f1a5f95649fc7dc0076e91139165c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/70/comments","statuses_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/statuses/6319a1fe0996c2a9941d8ba0ecc8986ba0759feb","head":{"label":"okapia:errtags","ref":"errtags","sha":"6319a1fe0996c2a9941d8ba0ecc8986ba0759feb","user":{"login":"okapia","id":228776,"avatar_url":"https://avatars.githubusercontent.com/u/228776?v=3","gravatar_id":"","url":"https://api.github.com/users/okapia","html_url":"https://github.com/okapia","followers_url":"https://api.github.com/users/okapia/followers","following_url":"https://api.github.com/users/okapia/following{/other_user}","gists_url":"https://api.github.com/users/okapia/gists{/gist_id}","starred_url":"https://api.github.com/users/okapia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okapia/subscriptions","organizations_url":"https://api.github.com/users/okapia/orgs","repos_url":"https://api.github.com/users/okapia/repos","events_url":"https://api.github.com/users/okapia/events{/privacy}","received_events_url":"https://api.github.com/users/okapia/received_events","type":"User","site_admin":false},"repo":{"id":44376111,"name":"warnings-plugin","full_name":"okapia/warnings-plugin","owner":{"login":"okapia","id":228776,"avatar_url":"https://avatars.githubusercontent.com/u/228776?v=3","gravatar_id":"","url":"https://api.github.com/users/okapia","html_url":"https://github.com/okapia","followers_url":"https://api.github.com/users/okapia/followers","following_url":"https://api.github.com/users/okapia/following{/other_user}","gists_url":"https://api.github.com/users/okapia/gists{/gist_id}","starred_url":"https://api.github.com/users/okapia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okapia/subscriptions","organizations_url":"https://api.github.com/users/okapia/orgs","repos_url":"https://api.github.com/users/okapia/repos","events_url":"https://api.github.com/users/okapia/events{/privacy}","received_events_url":"https://api.github.com/users/okapia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okapia/warnings-plugin","description":"Jenkins warnings plugin","fork":true,"url":"https://api.github.com/repos/okapia/warnings-plugin","forks_url":"https://api.github.com/repos/okapia/warnings-plugin/forks","keys_url":"https://api.github.com/repos/okapia/warnings-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okapia/warnings-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okapia/warnings-plugin/teams","hooks_url":"https://api.github.com/repos/okapia/warnings-plugin/hooks","issue_events_url":"https://api.github.com/repos/okapia/warnings-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/okapia/warnings-plugin/events","assignees_url":"https://api.github.com/repos/okapia/warnings-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/okapia/warnings-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/okapia/warnings-plugin/tags","blobs_url":"https://api.github.com/repos/okapia/warnings-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okapia/warnings-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okapia/warnings-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/okapia/warnings-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okapia/warnings-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/okapia/warnings-plugin/languages","stargazers_url":"https://api.github.com/repos/okapia/warnings-plugin/stargazers","contributors_url":"https://api.github.com/repos/okapia/warnings-plugin/contributors","subscribers_url":"https://api.github.com/repos/okapia/warnings-plugin/subscribers","subscription_url":"https://api.github.com/repos/okapia/warnings-plugin/subscription","commits_url":"https://api.github.com/repos/okapia/warnings-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/okapia/warnings-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/okapia/warnings-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/okapia/warnings-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/okapia/warnings-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/okapia/warnings-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okapia/warnings-plugin/merges","archive_url":"https://api.github.com/repos/okapia/warnings-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okapia/warnings-plugin/downloads","issues_url":"https://api.github.com/repos/okapia/warnings-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/okapia/warnings-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/okapia/warnings-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/okapia/warnings-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okapia/warnings-plugin/labels{/name}","releases_url":"https://api.github.com/repos/okapia/warnings-plugin/releases{/id}","created_at":"2015-10-16T09:39:16Z","updated_at":"2015-10-16T09:39:18Z","pushed_at":"2015-10-22T14:27:03Z","git_url":"git://github.com/okapia/warnings-plugin.git","ssh_url":"git@github.com:okapia/warnings-plugin.git","clone_url":"https://github.com/okapia/warnings-plugin.git","svn_url":"https://github.com/okapia/warnings-plugin","homepage":"http://jenkins-ci.org/","size":4782,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jenkinsci:master","ref":"master","sha":"ff78b4aea3735e4a3bb1dcbf4163a4c3dc21e486","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1169230,"name":"warnings-plugin","full_name":"jenkinsci/warnings-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/warnings-plugin","description":"Jenkins warnings plugin","fork":false,"url":"https://api.github.com/repos/jenkinsci/warnings-plugin","forks_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/warnings-plugin/releases{/id}","created_at":"2010-12-14T20:42:03Z","updated_at":"2015-11-16T16:11:42Z","pushed_at":"2015-11-29T09:46:18Z","git_url":"git://github.com/jenkinsci/warnings-plugin.git","ssh_url":"git@github.com:jenkinsci/warnings-plugin.git","clone_url":"https://github.com/jenkinsci/warnings-plugin.git","svn_url":"https://github.com/jenkinsci/warnings-plugin","homepage":"http://jenkins-ci.org/","size":5389,"stargazers_count":29,"watchers_count":29,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":0,"forks":74,"open_issues":0,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70"},"html":{"href":"https://github.com/jenkinsci/warnings-plugin/pull/70"},"issue":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/70"},"comments":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/warnings-plugin/statuses/6319a1fe0996c2a9941d8ba0ecc8986ba0759feb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"uhafner","id":503338,"avatar_url":"https://avatars.githubusercontent.com/u/503338?v=3","gravatar_id":"","url":"https://api.github.com/users/uhafner","html_url":"https://github.com/uhafner","followers_url":"https://api.github.com/users/uhafner/followers","following_url":"https://api.github.com/users/uhafner/following{/other_user}","gists_url":"https://api.github.com/users/uhafner/gists{/gist_id}","starred_url":"https://api.github.com/users/uhafner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhafner/subscriptions","organizations_url":"https://api.github.com/users/uhafner/orgs","repos_url":"https://api.github.com/users/uhafner/repos","events_url":"https://api.github.com/users/uhafner/events{/privacy}","received_events_url":"https://api.github.com/users/uhafner/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":3,"changed_files":4}}