{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/boulder/issues/2201","repository_url":"https://api.github.com/repos/letsencrypt/boulder","labels_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2201/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2201/comments","events_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2201/events","html_url":"https://github.com/letsencrypt/boulder/pull/2201","id":178611093,"number":2201,"title":"Allows setting `$TESTPATHS` external to `test.sh`.","user":{"login":"cpu","id":292650,"avatar_url":"https://avatars.githubusercontent.com/u/292650?v=3","gravatar_id":"","url":"https://api.github.com/users/cpu","html_url":"https://github.com/cpu","followers_url":"https://api.github.com/users/cpu/followers","following_url":"https://api.github.com/users/cpu/following{/other_user}","gists_url":"https://api.github.com/users/cpu/gists{/gist_id}","starred_url":"https://api.github.com/users/cpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpu/subscriptions","organizations_url":"https://api.github.com/users/cpu/orgs","repos_url":"https://api.github.com/users/cpu/repos","events_url":"https://api.github.com/users/cpu/events{/privacy}","received_events_url":"https://api.github.com/users/cpu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-22T13:33:53Z","updated_at":"2016-09-27T17:33:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/letsencrypt/boulder/pulls/2201","html_url":"https://github.com/letsencrypt/boulder/pull/2201","diff_url":"https://github.com/letsencrypt/boulder/pull/2201.diff","patch_url":"https://github.com/letsencrypt/boulder/pull/2201.patch"},"body":"Unlike the `$GOTESTFLAGS` var there was no way to pass in a default value for `$TESTPATHS` in `test.sh` via `docker-compose -e` to indicate you only want to run specific unit tests.\r\n\r\nThis commit puts the default `$TESTPATHS` into `$DEFAULT_TESTPATHS` and assigns it to `$TESTPATHS` only if there isn't already a `$TESTPATHS` value provided.\r\n\r\nExample usage, running just the SA unit tests, with the \"next\" config, using `-race -v`:\r\n\r\n```\r\n  docker-compose run -e BOULDER_CONFIG_DIR=\"test/config-next\"\r\n    -e RUN=\"unit\" -e GOTESTFLAGS=\"-v -race\"\r\n    -e TESTPATHS=\"github.com/letsencrypt/boulder/sa\" boulder ./test.sh\r\n```"},"comment":{"url":"https://api.github.com/repos/letsencrypt/boulder/issues/comments/249938097","html_url":"https://github.com/letsencrypt/boulder/pull/2201#issuecomment-249938097","issue_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2201","id":249938097,"user":{"login":"jsha","id":220205,"avatar_url":"https://avatars.githubusercontent.com/u/220205?v=3","gravatar_id":"","url":"https://api.github.com/users/jsha","html_url":"https://github.com/jsha","followers_url":"https://api.github.com/users/jsha/followers","following_url":"https://api.github.com/users/jsha/following{/other_user}","gists_url":"https://api.github.com/users/jsha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsha/subscriptions","organizations_url":"https://api.github.com/users/jsha/orgs","repos_url":"https://api.github.com/users/jsha/repos","events_url":"https://api.github.com/users/jsha/events{/privacy}","received_events_url":"https://api.github.com/users/jsha/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T17:33:28Z","updated_at":"2016-09-27T17:33:28Z","body":"Works for me, just wanted to make sure you were aware of the alternative."}}
{"actor":{"display_login":"jsha"}}