{"action":"opened","issue":{"url":"https://api.github.com/repos/vanadium/issues/issues/1056","labels_url":"https://api.github.com/repos/vanadium/issues/issues/1056/labels{/name}","comments_url":"https://api.github.com/repos/vanadium/issues/issues/1056/comments","events_url":"https://api.github.com/repos/vanadium/issues/issues/1056/events","html_url":"https://github.com/vanadium/issues/issues/1056","id":125784489,"number":1056,"title":"\"jiri test run\" usability issues","user":{"login":"asadovsky","id":538767,"avatar_url":"https://avatars.githubusercontent.com/u/538767?v=3","gravatar_id":"","url":"https://api.github.com/users/asadovsky","html_url":"https://github.com/asadovsky","followers_url":"https://api.github.com/users/asadovsky/followers","following_url":"https://api.github.com/users/asadovsky/following{/other_user}","gists_url":"https://api.github.com/users/asadovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/asadovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asadovsky/subscriptions","organizations_url":"https://api.github.com/users/asadovsky/orgs","repos_url":"https://api.github.com/users/asadovsky/repos","events_url":"https://api.github.com/users/asadovsky/events{/privacy}","received_events_url":"https://api.github.com/users/asadovsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cosnicolaou","id":8702560,"avatar_url":"https://avatars.githubusercontent.com/u/8702560?v=3","gravatar_id":"","url":"https://api.github.com/users/cosnicolaou","html_url":"https://github.com/cosnicolaou","followers_url":"https://api.github.com/users/cosnicolaou/followers","following_url":"https://api.github.com/users/cosnicolaou/following{/other_user}","gists_url":"https://api.github.com/users/cosnicolaou/gists{/gist_id}","starred_url":"https://api.github.com/users/cosnicolaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosnicolaou/subscriptions","organizations_url":"https://api.github.com/users/cosnicolaou/orgs","repos_url":"https://api.github.com/users/cosnicolaou/repos","events_url":"https://api.github.com/users/cosnicolaou/events{/privacy}","received_events_url":"https://api.github.com/users/cosnicolaou/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-09T22:06:53Z","updated_at":"2016-01-09T22:06:53Z","closed_at":null,"body":"I wanted to run tests for a specific package via \"jiri test run\" (v.io/x/chat) and hit a number of usability issues:\r\n1. \"jiri test run\" should fail immediately if anything is wrong with the command line invocation (e.g. invalid flags, unknown test groups or tests, etc.)\r\n2. \"jiri test run\" should respect signals (e.g. Ctrl-C) and terminate all running tests\r\n3. \"jiri test run\" help should make it clearer how to run tests for a specific package\r\n\r\nDetails:\r\n- First I tried \"jiri test run vanadium-go-test v.io/x/chat\", which is not the correct invocation. Instead of failing immediately, the command proceeded to run all vanadium-go-test tests.\r\n- I didn't want to wait 15 minutes for the tests to complete, so I hit Ctrl-C, and discovered problem 2 - the parent process exited but the tests continued running and printing their results to stdout.\r\n- When the tests finally finished, I read the help text more carefully, and tried \"jiri test run vanadium-go-test -pkgs v.io/x/chat\". Unfortunately, that's also wrong - and once again, I had to wait for all the tests to run, with Ctrl-C not working as desired. At the very end, after running all tests, the framework printed \"ERROR: test -pkgs does not exist\". Gee, thanks. :(\r\n- At the time of writing, I'm still not sure how to actually get the desired behavior (problem 3).\r\n\r\nAssigning to @cosnicolaou for triage, as I'm not sure who knows this code best."}}