Hi, [ This is resend #1 since even after four hours the email does not seem to have reached bugs.debian.org. ]
inspired by the TDDD BoF at Debconf I experimented a bit with DEP-8 (autopkgtest). Using the bug526957_autopkgtest branch in http://iki.fi/lindi/git/systemtap.git/ I can now run the upstream testsuite against my installation with $ sudo apt-get install autopkgtest $ apt-get --download-only source systemtap $ sudo adt-run --no-built-binaries systemtap_1.6-1lindi3.dsc --- adt-virt-null And yes, it does indeed test the _installed_ package. It just needs the source package since the tests are stored there. Autopkgtest supports running the tests in a separate xen instance so that you don't need to worry about systemtap crashing the kernel. I did not test this part yet, however. In the process I filed a few bugs against autopkgtest, you need patches from those to actually do the above :-) The full output is at http://lindi.iki.fi/lindi/systemtap/systemtap_1.6-1_amd64_autopkgtest_20110811.txt.bz2 but the last lines of it are: ... PASS: unprivilegedko: module("*scsi*").function("*") {} PASS: unprivilegedko: kernel.mark("*") {} PASS: unprivilegedko: kernel.mark("*").format("*") {} Running /tmp/tmp.Lak8Xkffb1/dsc0-build/systemtap-1.6/testsuite/systemtap.unprivileged/unprivilegedok.exp ... PASS: unprivilegedok compile PASS: unprivilegedok: %(CONFIG_UTRACE=="y" %? process("foo").begin %: end %) PASS: unprivilegedok: %(CONFIG_UTRACE=="y" %? process("foo").function("bar") %: end %) PASS: unprivilegedok: %(CONFIG_UTRACE=="y" %? process("foo").function("bar").call %: end %) PASS: unprivilegedok: %(CONFIG_UTRACE=="y" %? process("foo").function("bar").return %: end %) === systemtap Summary === # of expected passes 1077 # of unexpected failures 87 # of unexpected successes 8 # of expected failures 232 # of known failures 2 # of untested testcases 269 # of unsupported tests 2 adt-run: trace: & dsc0t-upstream-testsuite: ----------------------------------------] adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done. adt-run: trace: ** stop adt-run: trace: ** close, scratch=tb-scratch~/tmp/tmp.Lak8Xkffb1:-/|/tmp/tmp.Lak8Xkffb1/! -Timo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org