On a MinGW setup none, either or both of the following Perl packages can be
installed:
1. ActiveState's ActivePerl.
2. The MSYS Perl package (see also
http://sourceforge.net/projects/mingw/files/).
No matter which Perl package is installed, RUNFULLTESTS (which needs Perl)
does not work. The patch below makes sure that on MinGW 'make test' always
invokes RUNTESTS (which does not use Perl).
The patch below has been tested on MinGW, Cygwin and Linux, each time with
the Perl package installed.
Note: the double dollar-sign below is not a typo but the makefile syntax for
escaping the dollar sign.
Index: /cygdrive/c/net-snmp/trunk/testing/Makefile.in
===================================================================
--- /cygdrive/c/net-snmp/trunk/testing/Makefile.in (revision 19375)
+++ /cygdrive/c/net-snmp/trunk/testing/Makefile.in (working copy)
@@ -32,6 +32,7 @@
test:
@if test "x$(PERL)" = "x" \
+ -o "x$$OSTYPE" = "xmsys" \
-o "x...@perl_system_invokes_posix_shell@" != xyes \
|| { ! $(PERL) -e 'require TAP::Harness;' >/dev/null 2>&1 \
&& ! $(PERL) -e 'require Test::Harness;' >/dev/null
2>&1; };\
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders