{"action":"created","comment":{"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments/229121556","pull_request_review_id":169545381,"id":229121556,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTEyMTU1Ng==","diff_hunk":"@@ -39,89 +42,145 @@ def main():\n     optional.add_argument(\n         '--run_test',\n         help=\n-        \"Runs the testcase and returns the output. Eg:math_ops_test.math_ops_test.DivNoNanTest.testBasic\"\n+        \"Runs the testcase and returns the output. Eg:math_ops_test.DivNoNanTest.testBasic\"\n     )\n     parser._action_groups.append(optional)\n     arguments = parser.parse_args()\n \n-    all_dirs_to_path(arguments.tensorflow_path)\n-\n     if (arguments.list_tests):\n-        list_tests(arguments.list_tests)\n-\n+        test_list = helper(arguments.tensorflow_path, arguments.list_tests)\n+        print('\\n'.join(test_list))\n     if (arguments.run_test):\n-        run_test(arguments.run_test)\n+        test_list = helper(arguments.tensorflow_path, arguments.run_test)\n+        run_test(test_list)\n+\n+\n+def helper(tf_path, test_regex):","path":"test/python/tf_unittest_runner.py","position":40,"original_position":40,"commit_id":"43da22b3884de367225ca2060dcab4680518c6b9","original_commit_id":"43da22b3884de367225ca2060dcab4680518c6b9","user":{"login":"sayantan-nervana","id":41931958,"node_id":"MDQ6VXNlcjQxOTMxOTU4","avatar_url":"https://avatars3.githubusercontent.com/u/41931958?v=4","gravatar_id":"","url":"https://api.github.com/users/sayantan-nervana","html_url":"https://github.com/sayantan-nervana","followers_url":"https://api.github.com/users/sayantan-nervana/followers","following_url":"https://api.github.com/users/sayantan-nervana/following{/other_user}","gists_url":"https://api.github.com/users/sayantan-nervana/gists{/gist_id}","starred_url":"https://api.github.com/users/sayantan-nervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayantan-nervana/subscriptions","organizations_url":"https://api.github.com/users/sayantan-nervana/orgs","repos_url":"https://api.github.com/users/sayantan-nervana/repos","events_url":"https://api.github.com/users/sayantan-nervana/events{/privacy}","received_events_url":"https://api.github.com/users/sayantan-nervana/received_events","type":"User","site_admin":false},"body":"maybe a more descriptive name than `helper`. `get_atomic_test_list`?","created_at":"2018-10-29T22:29:31Z","updated_at":"2018-10-29T22:30:32Z","html_url":"https://github.com/NervanaSystems/ngraph-tf/pull/282#discussion_r229121556","pull_request_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments/229121556"},"html":{"href":"https://github.com/NervanaSystems/ngraph-tf/pull/282#discussion_r229121556"},"pull_request":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282"}}},"pull_request":{"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282","id":226236505,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MjM2NTA1","html_url":"https://github.com/NervanaSystems/ngraph-tf/pull/282","diff_url":"https://github.com/NervanaSystems/ngraph-tf/pull/282.diff","patch_url":"https://github.com/NervanaSystems/ngraph-tf/pull/282.patch","issue_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/282","number":282,"state":"open","locked":false,"title":"Sindhu/tf unittest regexsupport","user":{"login":"sindhu-nervana","id":43015792,"node_id":"MDQ6VXNlcjQzMDE1Nzky","avatar_url":"https://avatars3.githubusercontent.com/u/43015792?v=4","gravatar_id":"","url":"https://api.github.com/users/sindhu-nervana","html_url":"https://github.com/sindhu-nervana","followers_url":"https://api.github.com/users/sindhu-nervana/followers","following_url":"https://api.github.com/users/sindhu-nervana/following{/other_user}","gists_url":"https://api.github.com/users/sindhu-nervana/gists{/gist_id}","starred_url":"https://api.github.com/users/sindhu-nervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindhu-nervana/subscriptions","organizations_url":"https://api.github.com/users/sindhu-nervana/orgs","repos_url":"https://api.github.com/users/sindhu-nervana/repos","events_url":"https://api.github.com/users/sindhu-nervana/events{/privacy}","received_events_url":"https://api.github.com/users/sindhu-nervana/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-26T21:56:24Z","updated_at":"2018-10-29T22:30:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bd8d933016c6e2b11ce5c5ba1abeb4aea3622be","assignee":null,"assignees":[],"requested_reviewers":[{"login":"avijit-nervana","id":30507445,"node_id":"MDQ6VXNlcjMwNTA3NDQ1","avatar_url":"https://avatars0.githubusercontent.com/u/30507445?v=4","gravatar_id":"","url":"https://api.github.com/users/avijit-nervana","html_url":"https://github.com/avijit-nervana","followers_url":"https://api.github.com/users/avijit-nervana/followers","following_url":"https://api.github.com/users/avijit-nervana/following{/other_user}","gists_url":"https://api.github.com/users/avijit-nervana/gists{/gist_id}","starred_url":"https://api.github.com/users/avijit-nervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avijit-nervana/subscriptions","organizations_url":"https://api.github.com/users/avijit-nervana/orgs","repos_url":"https://api.github.com/users/avijit-nervana/repos","events_url":"https://api.github.com/users/avijit-nervana/events{/privacy}","received_events_url":"https://api.github.com/users/avijit-nervana/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1072890402,"node_id":"MDU6TGFiZWwxMDcyODkwNDAy","url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/labels/WIP","name":"WIP","color":"f9ea0c","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282/commits","review_comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282/comments","review_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/282/comments","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/43da22b3884de367225ca2060dcab4680518c6b9","head":{"label":"NervanaSystems:sindhu/tf_unittest_regexsupport","ref":"sindhu/tf_unittest_regexsupport","sha":"43da22b3884de367225ca2060dcab4680518c6b9","user":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":133988684,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5ODg2ODQ=","name":"ngraph-tf","full_name":"NervanaSystems/ngraph-tf","private":false,"owner":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NervanaSystems/ngraph-tf","description":"Bridge to connect nGraph with TensorFlow","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/deployments","created_at":"2018-05-18T18:08:43Z","updated_at":"2018-10-29T20:54:24Z","pushed_at":"2018-10-29T22:15:22Z","git_url":"git://github.com/NervanaSystems/ngraph-tf.git","ssh_url":"git@github.com:NervanaSystems/ngraph-tf.git","clone_url":"https://github.com/NervanaSystems/ngraph-tf.git","svn_url":"https://github.com/NervanaSystems/ngraph-tf","homepage":"","size":112494,"stargazers_count":36,"watchers_count":36,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":21,"watchers":36,"default_branch":"master"}},"base":{"label":"NervanaSystems:master","ref":"master","sha":"91a192458f2abee0c270801b8ab25d023bb7a775","user":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":133988684,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5ODg2ODQ=","name":"ngraph-tf","full_name":"NervanaSystems/ngraph-tf","private":false,"owner":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NervanaSystems/ngraph-tf","description":"Bridge to connect nGraph with TensorFlow","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/deployments","created_at":"2018-05-18T18:08:43Z","updated_at":"2018-10-29T20:54:24Z","pushed_at":"2018-10-29T22:15:22Z","git_url":"git://github.com/NervanaSystems/ngraph-tf.git","ssh_url":"git@github.com:NervanaSystems/ngraph-tf.git","clone_url":"https://github.com/NervanaSystems/ngraph-tf.git","svn_url":"https://github.com/NervanaSystems/ngraph-tf","homepage":"","size":112494,"stargazers_count":36,"watchers_count":36,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":21,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282"},"html":{"href":"https://github.com/NervanaSystems/ngraph-tf/pull/282"},"issue":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/282"},"comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/43da22b3884de367225ca2060dcab4680518c6b9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sayantan-nervana"}}