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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsmith at redhat dot com

--- Comment #3 from David Smith <dsmith at redhat dot com> 2012-09-20 19:12:10 UTC ---
I've also been looking at modifying testsuite/systemtap.pass1-4/buildok.exp. 
We've got 2 main problems here:

- Several of the test files buildok.exp operates on in testsuite/buildok/
aren't really systemtap scripts but shell scripts (i.e. they start with "#!
/bin/sh").  I don't see any way of passing in '--runtime=dyninst' to those
testcases.  The affected test files are:

  testsuite/buildok/cmdline01.stp:#!/bin/sh
  testsuite/buildok/fortytwo.stp:#! /bin/sh
  testsuite/buildok/oldlocals01.stp:#! /bin/sh
  testsuite/buildok/scsi-detailed.stp:#! /bin/sh
  testsuite/buildok/thirtythree.stp:#! /bin/sh
  testsuite/buildok/thirtytwo.stp:#! /bin/sh
  testsuite/buildok/two.stp:#! /bin/sh

- The builok.exp testcase uses 'stap_run_batch' (from
testsuite/lib/systemtap.exp).  You can pass as many arguments to that function
as you like, but it only looks at the first arg (as a filename).  So, passing
in the extra "--runtime=dyninst" argument will mean some changes to
'stap_run_batch'.  (This might be a problem for systemtap.server/client.exp,
since it tries to pass extra args to 'stap_run_batch'.)

-- 
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]