On Sat, May 15, 2010 at 2:54 AM, Wes Hardaker < [email protected]> wrote:
> [ ... ] > > TAP is a generic testing result protocol (that looks like it may even > make it's way through the IETF). The only reason perl is used is > because it has the best support at this point for TAP, but there is no > reason that we couldn't write a C-based one if we were that bored. > > (FYI, the current "make test" should work without TAP::Harness if you > have the older Test::Harness; though you're limited to only the older > tests because we can't use all the nice auto-magic stuff that the newer > TAP::Harness provides for file type detection, etc). > > It would be easier to simply wrap the older scripts in a giant "I have > no perl so run this simple sh script instead". > > I hope to get to documenting everything in the near future, BTW. > Another consequence of RUNFULLTESTS being written in Perl is that "make test" no longer works on MinGW. The output of "make test" on MinGW is as follows: [ ... ] fulltests/temptests/T160snmpnetstat_olducd............'c:/net-snmp/trunk/testing/fulltests/support/run_olducd' is not recognized as an internal or external command, operable program or batch file. FAILED before any test output arrived fulltests/temptests/T200snmpv2cwalkall_olducd.........'c:/net-snmp/trunk/testing/fulltests/support/run_olducd' is not recognized as an internal or external command, operable program or batch file. FAILED before any test output arrived FAILED--63 test scripts could be run, alas--no output ever seen make[1]: *** [test] Error 255 make: *** [test] Error 2 The reason why "make test" fails on MinGW is as follows: * "make tests" starts RUNFULLTESTS, which is written in Perl. * There is no Perl-interpreter included with MinGW, so RUNFULLTESTS is started with the first Perl interpreter in $PATH (which is the ActiveState Perl interpreter on my setup). * This Perl interpreter tries to start the POSIX shell script run_olducd with the cmd.exe interpreter, which fails. Any idea how to fix this ? Bart.
------------------------------------------------------------------------------
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
