diff options
author | fche <fche> | 2006-08-12 05:13:09 +0000 |
---|---|---|
committer | fche <fche> | 2006-08-12 05:13:09 +0000 |
commit | 814bc89d4635f101b2c0077598f31aad95ed15b7 (patch) | |
tree | 407a49dbaf446af4751f5068607a7fb8dad0611d /HACKING | |
parent | 6b6d04673a1ef175821afc7d4fabdb496698e8e3 (diff) | |
download | systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.tar.gz systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.tar.xz systemtap-steved-814bc89d4635f101b2c0077598f31aad95ed15b7.zip |
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, Makefile.am: Descend into testsuite/
directory. Remove local test logic.
* configure, Makefile.in: Regenerated.
* runtest.sh: Not yet removed.
* HACKING: Update for new testsuite layout.
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* all: Reorganized old pass-1..4 tests one dejagnu bucket.
Moved over old pass-5 tests, except for disabled syscalls tests.
* Makefile (installcheck): New target for running pass-1..5
tests against installed systemtap.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -40,17 +40,18 @@ the <systemtap@sources.redhat.com> mailing list. As far as practicable, changes should be accompanied by test cases to prevent future regressions. Tests should be run on at least - x86, and ideally also on some 64-bit platform. + x86, and ideally also on some 64-bit platform. The test suite is + located under /src/testsuite and is based on dejagnu. "make check" + runs unprivileged tests only against an uninstalled build tree. + "make installcheck" runs all tests against an installed tree. Tests that don't require probe execution should go into new or - modified files under /src/testsuite/, a simple automake-flavoured - bucket. Subdirectories exist for testing only up to pass 1 - (parseok/parseko), pass 2 (semok/semko), pass 3 (transok,transko), - and pass 4 (buildok/buildko). The "ko" tests are for expected - (deliberate) errors. - - Tests that execute probes (pass 5) go under /tests/testsuite/, a - dejagnu-based bucket that will require root access to run. + modified files under the *{ok,ko} directories, which are scanned + by corresponding systemtap.pass1-4/*.exp files. The "ko" tests are + for expected (deliberate) errors. + + Tests that execute probes (pass 5) should include their own .exp/.stp + files under any other appropriate systemtap.* testsuite subdirectory. - translator |