From 6243ffcbdffaf003c2626a161c344ed65ad1830f Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 19 Sep 2009 21:20:34 +0200 Subject: Test all context related functions in one test. Saves a couple of seconds per individual test by doing them all in one. * testsuite/buildok/context_test.stp: Incorporate: modname.stp, probefunc.stp, probemod.stp, symdata.stp, symname.stp, uaddr.stp, ustack.stp, usymdata.stp, usymname.stp. Delete individual tests. --- testsuite/buildok/context_test.stp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuite/buildok/context_test.stp') diff --git a/testsuite/buildok/context_test.stp b/testsuite/buildok/context_test.stp index e58c8997..149159fb 100755 --- a/testsuite/buildok/context_test.stp +++ b/testsuite/buildok/context_test.stp @@ -20,4 +20,14 @@ probe begin { printf("pp is %s\n", pp()) printf("pgrp is %d\n", pgrp()) printf("sid is %d\n", sid()) + print_ustack(ubacktrace()); + print_ubacktrace(); + log(usymdata(0)) + log(usymname(0)) + log(symdata(0)) + log(symname(0)) + printf("uaddr: 0x%x\n", uaddr()) + log(modname(0)) + log(probefunc()) + log(probemod()) } -- cgit