[RFC] Updated: Systemtap tapset test suite.
Dr Andrew John Hughes
ahughes at redhat.com
Fri Jul 30 03:45:00 PDT 2010
On 10:05 Fri 30 Jul , Mark Wielaard wrote:
> On Fri, 2010-07-30 at 00:01 +0100, Dr Andrew John Hughes wrote:
> > After patching the kernel with utrace support, I get the attached.
>
> I think the Pass 4 failures are really that. The GCC used doesn't
> provide location expressions for some of the variables the scripts wants
> to access. They aren't really bugs in icedtea, but in gcc, possibly
> resolved in gcc 4.5+ (some distros backport these debuginfo fixes).
>
$ gcc --version
gcc (Gentoo 4.5.0 p1.2, pie-0.4.5) 4.5.0
Copyright (C) 2010 Free Software Foundation, Inc.
So the fixes have not been released.
> The Pass 5 failures probably mean the user running stap doesn't have
> permission. Normally you would have the user in group stapdev.
> http://sourceware.org/systemtap/SystemTap_Beginners_Guide/using-usage.html
> We might need a stap -e 'probe begin { log("Hello World"); exit(); }'
> test before we run the rest of the tests that need Pass 5 output.
>
This also fails. What file is it trying to access? A clearer error
message would be helpful.
For the test suite, it needs to do some checks first before trying to
run all these tests. I definitely don't think this should be called
by check-local at present. It requires too much manual setup and
won't work on most platforms.
> Cheers,
>
> Mark
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list