]> sourceware.org Git - systemtap.git/commitdiff
Added instructions for running a particular test.
authorJim Keniston <jkenisto@us.ibm.com>
Fri, 13 Jun 2008 23:37:30 +0000 (16:37 -0700)
committerJim Keniston <jkenisto@us.ibm.com>
Fri, 13 Jun 2008 23:37:30 +0000 (16:37 -0700)
HACKING

diff --git a/HACKING b/HACKING
index de8b94b486e84856cbd172806b8bd351f94cc7f0..98c19e7f6db1e0c5c1a960e84e08e4dddf46d12e 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -56,6 +56,15 @@ the <systemtap@sources.redhat.com> mailing list.
   Tests that execute probes (pass 5) should include their own .exp/.stp
   files under any other appropriate systemtap.* testsuite subdirectory.
 
+  To run a particular test or set of tests, do:
+    cd testsuite
+    make check RUNTESTFLAGS=testname.exp
+  or
+    make installcheck RUNTESTFLAGS=testname.exp
+  To disambiguate among multiple tests with the same name, specify
+  the directory as well -- for example:
+    make installcheck RUNTESTFLAGS=systemtap.base/print.exp
+
 - translator
 
   Translator changes can easily invalidate tapsets and user script
This page took 0.027813 seconds and 5 git commands to generate.