Hi, Using the unit test framework for some Perl work and am running into a bit of trouble. When a test fails, i.e. an assert is triggered and I get an appropriate error message such as "not ok ERROR test_...." the exit status of the test is still 0.
-> perl myTest.t ..... ERROR .... -> echo $? 0 This is not good as I would like make and rpm package creation to fail when a test fails. How do I get the unit test framework to set the exit status to something other than 0 when an ERROR occurs? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead [email protected] [email protected] 781-464-8147 ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Perlunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perlunit-users
