summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorfche <fche>2006-08-12 05:13:09 +0000
committerfche <fche>2006-08-12 05:13:09 +0000
commit814bc89d4635f101b2c0077598f31aad95ed15b7 (patch)
tree407a49dbaf446af4751f5068607a7fb8dad0611d /HACKING
parent6b6d04673a1ef175821afc7d4fabdb496698e8e3 (diff)
downloadsystemtap-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--HACKING19
1 files changed, 10 insertions, 9 deletions
diff --git a/HACKING b/HACKING
index 09acecf6..4fc1b7ef 100644
--- a/HACKING
+++ b/HACKING
@@ -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