[Bug testsuite/14574] Add test coverage for stapdyn's runtime

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Thu Sep 20 18:53:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14574

--- Comment #2 from David Smith <dsmith at redhat dot com> 2012-09-20 18:52:28 UTC ---
Created attachment 6640
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6640
Alpha (non-working) patch.

Here's a patch that implements a 'dyninst_p' function and a function that
returns the list of supported runtimes.

However, the testcase that has been modified to use the new functions doesn't
work, for several reasons (some listed in comments in the patch):

- The dyninst runtime requires a target executable. Finding an appropriate one
is tricky (on 32-bit x86 at least), and I'm having trouble with redirection. 
The latter is probably a tcl problem.

- Since end probes aren't currently working with the dyninst runtime, the test
scripts themselves are failing (since the map_hash.exp testcase uses the auto
end variable printing feature).

Comments on the general approach would still be appreciated.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list