From 30c35cf4696b0345c348e85acfb59c4ce6ef7f16 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 8 Feb 2004 14:02:07 +0000 Subject: * TODO: Update. * testsuite/libdejagnu/unit.cc: Conform with GNU coding standard. --- TODO | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 05e6474..2c51a6c 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -Last updated $Date: 2004/02/08 12:57:53 $ +Last updated $Date: 2004/02/08 14:02:07 $ Bigger items ============ @@ -14,3 +14,43 @@ Documentation ============= * Add a "testing methodologies" section to the manual. + + +From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) +Subject: my dejagnu wish list +Newsgroups: gmane.comp.sysutils.dejagnu.general +Date: Sat, 31 Jan 2004 21:02:21 -0500 (EST) + +My wish list for dejagnu: + +. clean up the exit status value. + + The current situation is: + + 1 a FAIL, XPASS, KPASS, or UNRESOLVED result occurred + 1 an unknown TCL procedure was called + 1 --status option and a TCL error happened + 0 all other cases + + I would like to see something like: + + 0 all tests are okay + 1 at least one test is not okay (FAIL, XPASS, KPASS, UNRESOLVED) + 2 a TCL error occured + 130 user hit ^C (SIGINT) + 131 user hit ^\ (SIGQUIT) + + The important part is that I want to detect whether dejagnu ran + to completion or whether the user interrupted it with ^C or ^\. + +. When the compiler produces error messages, default_target_compile + calls "verbose -log ...". There is no need for "-log", because + runtest.exp already turned on "expect" logging with + "log_file -a $outdir/$tool.log", so there is already a copy of + the compiler output in the log file. Just "verbose ..." or + nothing at all. + +. Reset $warncnt and $errcnt at the start of each script. Right now, + if an error happens in a script and then no tests are run, + $errcnt carries over to the next script and forces the first test + of the new script to be UNRESOLVED. -- cgit v1.1