public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* merged dejagnu testsuites
@ 2006-08-12  5:21 Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2006-08-12  5:21 UTC (permalink / raw)
  To: systemtap

Hi -

The src/testsuite/ tree now contains a unified dejagnu suite with all
pass 1 ... 5 tests in there.  I hope that with dejagnu on the case, it
will be possible to make more sophisticated judgements about whether
tests should pass/kfail, so that we can have a clean run again.

"make check" runs the old pass 1-4 tests against the build tree.
"make installcheck" runs pass 1-5 tests against the install tree,
and requires root privileges.

Please give it a try and fix what you can.  Some work is incomplete,
such as the systemtap.syscalls test bucket, which made more than the
usual number of assumptions about its invocation environment.

- FChE

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: merged dejagnu testsuites
@ 2006-08-29 23:43 Stone, Joshua I
  0 siblings, 0 replies; 4+ messages in thread
From: Stone, Joshua I @ 2006-08-29 23:43 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: systemtap

On Tuesday, August 29, 2006 9:05 AM, Frank Ch. Eigler wrote:
> You probably mean the new pass1-4/*.exp files.  Only a few weeks went
> by, but already I don't recall why the ">>& systemtap.log" is there
> :-). It wasn't intentional to lose the *ko error messages.

Yes I mean the pass1-4, but I'm actually worried about losing the
messages from *ok failures.

Before I wasn't waiting until the end of the testsuite run -- I waited
until I saw a failure and then hit crtl-c and looked at the logfile.

Now I see that when you let the testsuite run through completely, some
output ends up at the end of the file.  It's not all that useful though
-- I see a deluge of information from what appears to be both passing
and failing tests, with no clear way to tell what output came from what
test.  A 7MB log file is far too verbose for me to figure out what
happened.  It seems to be giving be something like this:

	Running [...]/buildok/foo.stp
	PASS: buildok/foo.stp
	Running [...]/buildok/bar.stp
	FAIL: buildok/bar.stp
	Running [...]/buildok/baz.stp
	PASS: buildok/baz.stp
	[foo's output]
	[bar's output]
	[baz's output]

I'm not even sure if all that output at the end really has the error
information I need.  For example, buildok/syscall.stp is failing (known
problem -- missing some syscalls), but I can't find anything in the log
file that tells me the failure message.

The deluge wouldn't be so bad if it was kept inline with the test
status, i.e.,

	Running [...]/buildok/foo.stp
	[foo's output]
	PASS: buildok/foo.stp
	Running [...]/buildok/bar.stp
	[bar's output]
	FAIL: buildok/bar.stp
	Running [...]/buildok/baz.stp
	[baz's output]
	PASS: buildok/baz.stp


I tried taking out your mysterious ">>& systemtap.log", and that just
made it so I don't see the output in the log at all.  So to refresh your
memory, Frank, you probably added that so the output would not be
completely lost.  ;)


Josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: merged dejagnu testsuites
  2006-08-28 22:42 Stone, Joshua I
@ 2006-08-29 16:04 ` Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2006-08-29 16:04 UTC (permalink / raw)
  To: Stone, Joshua I; +Cc: systemtap

Hi -

> With the new testsuite, is there a log that captures the error output?

In general dejagnu is supposed to capture stdout/stderr into
systemtap.log.

> We used to get a testresults directory, but that's gone.  The test
> drivers look like they're trying to capture the output to
> systemtap.log, but that doesn't appear to be working.  [...]

You probably mean the new pass1-4/*.exp files.  Only a few weeks went
by, but already I don't recall why the ">>& systemtap.log" is there :-).
It wasn't intentional to lose the *ko error messages.

- FChE

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: merged dejagnu testsuites
@ 2006-08-28 22:42 Stone, Joshua I
  2006-08-29 16:04 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Stone, Joshua I @ 2006-08-28 22:42 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: systemtap

With the new testsuite, is there a log that captures the error output?
We used to get a testresults directory, but that's gone.  The test
drivers look like they're trying to capture the output to systemtap.log,
but that doesn't appear to be working.  I would guess that since dejagnu
is writing to that file, all the stap redirects to that file get lost.

Josh


On Friday, August 11, 2006 10:22 PM, Frank Ch. Eigler wrote:
> Hi -
> 
> The src/testsuite/ tree now contains a unified dejagnu suite with all
> pass 1 ... 5 tests in there.  I hope that with dejagnu on the case, it
> will be possible to make more sophisticated judgements about whether
> tests should pass/kfail, so that we can have a clean run again.
> 
> "make check" runs the old pass 1-4 tests against the build tree.
> "make installcheck" runs pass 1-5 tests against the install tree,
> and requires root privileges.
> 
> Please give it a try and fix what you can.  Some work is incomplete,
> such as the systemtap.syscalls test bucket, which made more than the
> usual number of assumptions about its invocation environment.
> 
> - FChE

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-29 23:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-12  5:21 merged dejagnu testsuites Frank Ch. Eigler
2006-08-28 22:42 Stone, Joshua I
2006-08-29 16:04 ` Frank Ch. Eigler
2006-08-29 23:43 Stone, Joshua I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).