public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module
@ 2011-08-25  4:59 phan at redhat dot com
  2011-08-25 15:36 ` [Bug testsuite/13132] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: phan at redhat dot com @ 2011-08-25  4:59 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 13132
           Summary: buildok/pr10678.stp fails if system doesn't have
                    ne2k-pci module
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap@sourceware.org
        ReportedBy: phan@redhat.com
    Classification: Unclassified


On a system which doesn't have ne2k-pci.ko, the test case will fail:

semantic error: no match while resolving probe point
module("ne2k_pci").function("ne2k_pci_open")
Pass 2: analysis failed.  Try again with another '--vp 01' option.

So, I think we should change it to something like this:

#!/usr/bin/stap -p4

# The ne2k_pci module dwarf refers to both kernel and 8390 module symbols
%( CONFIG_NE2K_PCI == "m" %?
probe module("ne2k_pci").function("ne2k_pci_open") { log($$parms); }
%:
probe begin { log("No ne2k-pci module, this test skipped.");exit(); }
%)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug testsuite/13132] buildok/pr10678.stp fails if system doesn't have ne2k-pci module
  2011-08-25  4:59 [Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module phan at redhat dot com
@ 2011-08-25 15:36 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2011-08-25 15:36 UTC (permalink / raw)
  To: systemtap

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

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dsmith at redhat dot com
         Resolution|                            |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> 2011-08-25 15:35:17 UTC ---
Fix checked in (commit ef9333b).

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-25 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-25  4:59 [Bug testsuite/13132] New: buildok/pr10678.stp fails if system doesn't have ne2k-pci module phan at redhat dot com
2011-08-25 15:36 ` [Bug testsuite/13132] " dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).