-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
Description
From jmmv@google.com on February 06, 2011 10:58:44
atf-run's reporting of error messages is suboptimal, and Kyua is still pretty similar to it in this regard. There have been some issues raised recently regarding the error messages reported when we try to execute invalid test programs.
Take a look at: http://mail-index.netbsd.org/atf-devel/2011/02/06/msg000237.html http://mail-index.netbsd.org/atf-devel/2011/02/06/msg000236.html Audit such error messages in Kyua and make them clearer. At the very least:
- If a test program does not exist, error out (current behavior) because the Kyuafile is just incorrectly defined.
- If the test program exists but fails to execute (for whatever reason, not just the lack of executable permissions), clearly report it as such instead of saying "failed to parse test case list".
- If the test program fails to provide the test case list, make sure to report it as such instead of a cryptic parse error.
Original issue: http://code.google.com/p/kyua/issues/detail?id=13
Reactions are currently unavailable