Hello.

I usually build net-snmp with builddir != srcdir so perl is disabled for
me.

Then I run make testall in order to get as much coverage as possible,
with this it is to be expected that tests fail.

The annoying part is that the perl tests fail in one of two ways:

      * They succeed.
        This is due to the fact that they pick up the SNMP module that
        is installed by the working version of net-snmp as opposed to
        the version under test.
        
      * They fail loudly and terminate.
        This is due to there not beeing any SNMP module on that host and
        so the 'use MODULE' statement does what it is documented to do
        when the module is missing.
        
So, I am looking for a way to say "import the module foo at
path /path/to/foo.pm and if that fails then do this other thing" and my
question to you perl experts is if that is possible.

/MF


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to