{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/1237","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/1237/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/1237/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/1237/events","html_url":"https://github.com/conda/conda-build/pull/1237","id":172484471,"number":1237,"title":"add source_files test arg that copies source files into test folder","user":{"login":"msarahan","id":38393,"avatar_url":"https://avatars.githubusercontent.com/u/38393?v=3","gravatar_id":"","url":"https://api.github.com/users/msarahan","html_url":"https://github.com/msarahan","followers_url":"https://api.github.com/users/msarahan/followers","following_url":"https://api.github.com/users/msarahan/following{/other_user}","gists_url":"https://api.github.com/users/msarahan/gists{/gist_id}","starred_url":"https://api.github.com/users/msarahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarahan/subscriptions","organizations_url":"https://api.github.com/users/msarahan/orgs","repos_url":"https://api.github.com/users/msarahan/repos","events_url":"https://api.github.com/users/msarahan/events{/privacy}","received_events_url":"https://api.github.com/users/msarahan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-22T15:36:57Z","updated_at":"2016-08-29T21:29:43Z","closed_at":"2016-08-22T16:35:41Z","pull_request":{"url":"https://api.github.com/repos/conda/conda-build/pulls/1237","html_url":"https://github.com/conda/conda-build/pull/1237","diff_url":"https://github.com/conda/conda-build/pull/1237.diff","patch_url":"https://github.com/conda/conda-build/pull/1237.patch"},"body":"A frequent source of confusion is that test files are copied from the recipe directory, and there is no clear way to copy files from the source directory into the test folder.  This PR adds a new entry to the test section of meta.yaml, ```source_files``` that copies files from the source folder into the test folder.  It should also download the source if necessary (for example, if a package is being tested separately from a build)."},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/243262640","html_url":"https://github.com/conda/conda-build/pull/1237#issuecomment-243262640","issue_url":"https://api.github.com/repos/conda/conda-build/issues/1237","id":243262640,"user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T21:29:43Z","updated_at":"2016-08-29T21:29:43Z","body":"So if one did something like...\r\n\r\n```yaml\r\ntest:\r\n  source_files:\r\n    - {{ SRC_DIR }}\r\n```\r\n\r\nWould that actually copy all of the source directory? Thinking of the cases where someone wants to run `make check` at this stage."}}
{"actor":{"display_login":"jakirkham"}}