This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Running systemtap tests
- From: William Cohen <wcohen at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Thu, 29 Sep 2005 16:12:00 -0400
- Subject: Running systemtap tests
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