{"action":"created","issue":{"url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/161","labels_url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/161/comments","events_url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/161/events","html_url":"https://github.com/SeattleTestbed/seattlelib_v2/issues/161","id":56821278,"number":161,"title":"`repypp.py` should have unit tests","user":{"login":"aaaaalbert","id":3806695,"avatar_url":"https://avatars.githubusercontent.com/u/3806695?v=3","gravatar_id":"","url":"https://api.github.com/users/aaaaalbert","html_url":"https://github.com/aaaaalbert","followers_url":"https://api.github.com/users/aaaaalbert/followers","following_url":"https://api.github.com/users/aaaaalbert/following{/other_user}","gists_url":"https://api.github.com/users/aaaaalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaaalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaaalbert/subscriptions","organizations_url":"https://api.github.com/users/aaaaalbert/orgs","repos_url":"https://api.github.com/users/aaaaalbert/repos","events_url":"https://api.github.com/users/aaaaalbert/events{/privacy}","received_events_url":"https://api.github.com/users/aaaaalbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"XuefengHuang","id":6812869,"avatar_url":"https://avatars.githubusercontent.com/u/6812869?v=3","gravatar_id":"","url":"https://api.github.com/users/XuefengHuang","html_url":"https://github.com/XuefengHuang","followers_url":"https://api.github.com/users/XuefengHuang/followers","following_url":"https://api.github.com/users/XuefengHuang/following{/other_user}","gists_url":"https://api.github.com/users/XuefengHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/XuefengHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuefengHuang/subscriptions","organizations_url":"https://api.github.com/users/XuefengHuang/orgs","repos_url":"https://api.github.com/users/XuefengHuang/repos","events_url":"https://api.github.com/users/XuefengHuang/events{/privacy}","received_events_url":"https://api.github.com/users/XuefengHuang/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-06T14:57:16Z","updated_at":"2015-02-11T13:25:10Z","closed_at":null,"body":"`repypp.py`, the Repy preprocessor, does not have unit tests. This makes testing parts of the build scripts in SeattleTestbed/common difficult.\r\n\r\nThings we should probably test:\r\n* Correct `#include` statements\r\n* Erroneous `#include` statements:\r\n * include non-existing files,\r\n * have multiple arguments,\r\n * have no arguments at all.\r\n\r\n(We will want to have realistic-looking Repy programs and realistic-looking libraries to `#include` for these purposes)."},"comment":{"url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/comments/73880037","html_url":"https://github.com/SeattleTestbed/seattlelib_v2/issues/161#issuecomment-73880037","issue_url":"https://api.github.com/repos/SeattleTestbed/seattlelib_v2/issues/161","id":73880037,"user":{"login":"aaaaalbert","id":3806695,"avatar_url":"https://avatars.githubusercontent.com/u/3806695?v=3","gravatar_id":"","url":"https://api.github.com/users/aaaaalbert","html_url":"https://github.com/aaaaalbert","followers_url":"https://api.github.com/users/aaaaalbert/followers","following_url":"https://api.github.com/users/aaaaalbert/following{/other_user}","gists_url":"https://api.github.com/users/aaaaalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaaalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaaalbert/subscriptions","organizations_url":"https://api.github.com/users/aaaaalbert/orgs","repos_url":"https://api.github.com/users/aaaaalbert/repos","events_url":"https://api.github.com/users/aaaaalbert/events{/privacy}","received_events_url":"https://api.github.com/users/aaaaalbert/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T13:25:10Z","updated_at":"2015-02-11T13:25:10Z","body":"@XuefengHuang suggested we also test *calling* `repypp.py` with too few / many arguments. Good point!\r\n\r\nI'll also add that we should test lines like \r\n`include some_lib.repy     # Ensure that comments are ignored, even if preceded by whitespace`\r\n"}}