{"action":"opened","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/5238","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/5238/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/5238/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/5238/events","html_url":"https://github.com/RobotLocomotion/drake/issues/5238","id":209021795,"number":5238,"title":"support adding drake_cc_binary as a drake_cc_test with some command line flags","user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"labels":[{"id":499298907,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/configuration:%20bazel","name":"configuration: bazel","color":"fbca04","default":false},{"id":77798016,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/priority:%20low","name":"priority: low","color":"e99695","default":false},{"id":366761608,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/team:%20software%20core","name":"team: software core","color":"0052cc","default":false},{"id":361320858,"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/type:%20continuous%20integration","name":"type: continuous integration","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"assignees":[{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-21T01:57:03Z","updated_at":"2017-02-21T01:57:03Z","closed_at":null,"body":"For a specific example in cmake, see\r\nhttps://github.com/RobotLocomotion/drake/blob/master/drake/examples/Pendulum/CMakeLists.txt#L56\r\n\r\nI'd like to do the equivalent in bazel.  I've added a drake_cc_binary for pendulum_run_swing_up, but now want to add a test that uses the command line arguments to run faster than realtime (without having to write a one-off python wrapper).  \r\n\r\nwhen asked quickly, @jwnimmer-tri said \"We should share that shell script across BUILD files though I think, or wrap it up into a `cc_noncrash_test` macro if we wanted to do that.\""}}
{"actor":{"display_login":"RussTedrake"}}