{"action":"created","issue":{"url":"https://api.github.com/repos/01org/zephyr.js/issues/341","repository_url":"https://api.github.com/repos/01org/zephyr.js","labels_url":"https://api.github.com/repos/01org/zephyr.js/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/01org/zephyr.js/issues/341/comments","events_url":"https://api.github.com/repos/01org/zephyr.js/issues/341/events","html_url":"https://github.com/01org/zephyr.js/issues/341","id":186287347,"number":341,"title":"How to run tests?","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-31T13:48:00Z","updated_at":"2016-11-01T07:36:49Z","closed_at":null,"body":"Please let me play \"casual user\" here (I'm going to dig a bit deeper after this report, but I'm afraid one can get only so far with this matter without docs). So, I see `tests/` dir in the tree, I see commit traffic around tests. However, there's no info of them in the README beyond just mentioning `tests/` dir. Ok, I try to run them. \"make test\", \"make check\", \"make tests\" don't work. I decide to run them manually, and assume that the most obvious way to do that is with Linux version, as something which everyone has, though seeing test-aio.js puts me off a bit. Anyway:\r\n\r\n~~~\r\n$ ./jslinux tests/test-buffer.js \r\n\r\nJerryScript: cannot run javascript\r\n~~~\r\n\r\nNo error, no nothing, just cannot run.\r\n\r\n~~~\r\n$ ./jslinux tests/test-timers.js \r\n\r\nPASS - clearInterval: intervalID does not exist\r\nPASS - clearTimeout: timeoutID does not exist\r\nPASS - setTimeout: set delay\r\nPASS - setTimeout: set delay and optional arg\r\nPASS - setInterval: set delay\r\nPASS - clearInterval: intervalID\r\nSegmentation fault (core dumped)\r\n~~~\r\n\r\nNote the segmentation fault at the end.\r\n"},"comment":{"url":"https://api.github.com/repos/01org/zephyr.js/issues/comments/257505879","html_url":"https://github.com/01org/zephyr.js/issues/341#issuecomment-257505879","issue_url":"https://api.github.com/repos/01org/zephyr.js/issues/341","id":257505879,"user":{"login":"baleboy","id":1642712,"avatar_url":"https://avatars.githubusercontent.com/u/1642712?v=3","gravatar_id":"","url":"https://api.github.com/users/baleboy","html_url":"https://github.com/baleboy","followers_url":"https://api.github.com/users/baleboy/followers","following_url":"https://api.github.com/users/baleboy/following{/other_user}","gists_url":"https://api.github.com/users/baleboy/gists{/gist_id}","starred_url":"https://api.github.com/users/baleboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baleboy/subscriptions","organizations_url":"https://api.github.com/users/baleboy/orgs","repos_url":"https://api.github.com/users/baleboy/repos","events_url":"https://api.github.com/users/baleboy/events{/privacy}","received_events_url":"https://api.github.com/users/baleboy/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T07:36:49Z","updated_at":"2016-11-01T07:36:49Z","body":"I think @pfalcon 's comment is valid, a make 'test' target that translates to the test command above would be a simple way to make things easier."}}
{"actor":{"display_login":"baleboy"}}