Re: Not testing perl

2010-06-18 Thread Wes Hardaker
> On Fri, 18 Jun 2010 11:23:38 +0200, Magnus Fromreide > said: MF> So, I am looking for a way to say "import the module foo at path MF> /path/to/foo.pm and if that fails then do this other thing" and my MF> question to you perl experts is if that is possible. I think the right thing to

Not testing perl

2010-06-18 Thread Magnus Fromreide
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.

Re: Testing perl

2010-06-04 Thread Wes Hardaker
> On Fri, 04 Jun 2010 08:24:06 +0200, Magnus Fromreide > said: MF> The problem seems to be that I hadn't installed net-snmp prior to MF> running the test suite but I do believe that the test suite should be MF> runnable prior to net-snmp beeing installed. Yep; I hadn't gotten to doing p

Testing perl

2010-06-03 Thread Magnus Fromreide
Hi. I just tried to run the test suite, and the perl tests failed. Perl Unix Domain Socket Test .. Can't locate SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10