This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #8 from David Smith <dsmith at redhat dot com> 2012-09-27 16:30:56 UTC ---
Commit 8c94efa modifies the systemtap.pass1-4/*.exp tests to also include
dyninst.

Most of the cases are modified like this:

====
foreach runtime [get_runtime_list] {
    if {$runtime != ""} {
    # run test, add '--runtime=$runtime'
    } else {
    # run test
    }
}
===

Each testcase (where it makes sense) will need to be modified to add dyninst
support.  Hopefully if we get more runtimes the testsuite will accommodate them
much easier.

There are 2 remaining obstacles to getting the testsuite working well with
dyninst:

1) Dyninst outputs some debug messages that interferes with the testsuite
output matching.  Lines like:

  Setting bs state to 1
  found target /usr/lib/libpthread-2.16.so 0x7074
  found target /usr/lib/libpthread-2.16.so 0x7985
  found target /usr/lib/libpthread-2.16.so 0x7a3d
  found target /usr/lib/libpthread-2.16.so 0x6aed

2) Dyninst requires a test executable.  Now that probing /bin/true works, this
one isn't a "must have", but it would be nice to fix this one.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]