mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: ltp-list@lists.sourceforge.net
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [LTP] Validating exact PASS and FAIL scenarios for LTP
Date: Tue, 18 Sep 2007 17:21:31 +0530	[thread overview]
Message-ID: <1190116291.4763.52.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <20070702085054.0efb79ff.rdunlap@xenotime.net>

Hi All,

It may be a little high time for us to visit the way LTP defines itś
PASS and FAILURES. We know that each of LTP Test cases reports certain
keywords. Now, we need to define properly how each of these Keywords
needs to be interpreted in context to the addition information these
test-cases report, so that, we can arrive at saying that:
1) this information means that TEST has passed (and in such scenario the
test-case is bound to exit(0) to pan), and,
2) That set of information means that the TEST has failed (and in such
scenario the test-case is bound to exit(non-zero) to pan)

There are several reported incidents where there is ambiguity in judging
whether the test is a PASS or FAIL. Now we have come to a point where we
need to discuss and debate this out and say that:
1) These are the situations where the test should report exit(0) to pan
irrespective of what it has reported to logs through INFO:, and,
2) These are the situations where the test should immediately terminate
with exit(non-zero) to pan.

We also need to decide where these keywords like
PASS
WARN
BROK
FAIL
RETR
CONF
INFO
should be placed, and under what context ??

I hope all of you will contribute to this debate, where we finally seal
LTP´s fate as a:
1) Broken test-suite, or,
2) a glorious one.

--Regards--
Subrata

On Mon, 2007-07-02 at 08:50 -0700, Randy Dunlap wrote:
> On Mon, 02 Jul 2007 12:28:50 +0530 Subrata Modak wrote:
> 
> >   :-) *Dear All*,
> >  
> > *Note(s) from the Maintainer: *
> > generates now and whether/how you would like it to be in future
> 
> I don't know if this qualifies as an input for the output, but
>
> ltprun-summary.sh is attached.  It uses prtag2tag.pl, which is also
> attached.  (I also do this summary SCORE for the Open Posix Test suite.)
> 
> Example summary + SCORE:
> 
> Using logfile=/cruc/runs/1789/test_output/ltp.log
> build errors:  0 lines
> PASS:          2225
> WARNing:       1
> BROKen:        1
> RETiRed:       0
> FAIL:          0
> CONFig error:  11
> SCORE.ltp:        99.5
> 
> 
> > *Please also see the ChangeLog Below (June 2007):* *
> 
> so "[PATCH] float tests: use standard test results output"
> (http://sourceforge.net/mailarchive/forum.php?thread_name=20070622214652.d137d055.rdunlap%40xenotime.net&forum_name=ltp-list)
> will be added next month?
> 
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***


      reply	other threads:[~2007-09-18 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4688A22A.2090907@linux.vnet.ibm.com>
2007-07-02 15:50 ` [LTP] [ANNOUNCE] The Linux Test Project has been Released for June 2007, Randy Dunlap
2007-09-18 11:51   ` Subrata Modak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190116291.4763.52.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome