* Running systemtap tests
@ 2005-09-29 20:11 William Cohen
0 siblings, 0 replies; only message in thread
From: William Cohen @ 2005-09-29 20:11 UTC (permalink / raw)
To: SystemTAP
With the develop of systemtap progressing people would like to check to
see what the current state of SystemTap is on their local system. There
are two repositories for tests. One set of tests in the systemtap src
module in the cvs repository; these tests check operations of translator
but do not install and run on the system. The other set of tests is in
the tests module in the cvs repository; this set of tests build and
instrument the kernel.
Running the tests module
1) check out the tests
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap login
{enter "anoncvs" as the password}
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap co tests
2) cd tests/testsuite
get into the correct directory
3) runtest --tool=systemtap
The tests need dejagnu and expect installed on the machine to run. You
will need to either have sudoer set up to give the account root access
or run the tests as root because the tests install and remove modules.
You should see the tests listed on the screen as they are run. At the
end their will be a summary of the tests that passed and failed.
Running the tests in the src module
Download the src module. Configure and build systemtap as you normally
do. Use the following command in the build directory:
make check
-Will
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-29 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-29 20:11 Running systemtap tests William Cohen
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).