From 814bc89d4635f101b2c0077598f31aad95ed15b7 Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 12 Aug 2006 05:13:09 +0000 Subject: 2006-08-12 Frank Ch. Eigler * 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 * 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. --- HACKING | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index 09acecf6..4fc1b7ef 100644 --- a/HACKING +++ b/HACKING @@ -40,17 +40,18 @@ the 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 -- cgit