This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]