Microsoft
Software
Hardware
Network
Question : perl Test::Harness - FAILED--no tests were run for some reason
I have a batch program that runs test::harness and just recently I started getting this error:
FAILED--no tests were run for some reason
The test::harness is called from a batch file with the following command:
perl -I.. -Mlow_priority -MTest::Harness -e "$Test::Harness::switches=
'-I.. -I../tbuilder/lib'; my $ret = 0; my @tests = <%1*.t>; if( (localtime)[6] == 6 ){ @tests = grep /^weekly/i ,@tests; } else { @tests = grep !/^weekly/i, @tests; } eval{ $ret = runtests(@tests); }; if($@){ print $@; } " 2>&1 | perl _store_tests.pl daily_tests | perl _format_tests.pl | perl _email_tests.pl %MAIL_SERVER%
[email protected]
%EMAIL% "PulseCheck Testing (%DATE% %TIME%) for %COMPUTERNAME% %SERVER_NAME%" 2> testing_mail.err
The <%1*.t> represents all files in the cwd with a dot ".t" extension which are my test programs. For some reason I believe that it is not working because nothing seems to be executing.
Any ideas or suggestions here would be great. I also attached the .pl programs in the statement.
The run_tests.txt is the bat file that executes the command above.
Answer : perl Test::Harness - FAILED--no tests were run for some reason
Instead of <%1*.t>, try <*.t>
Random Solutions
Question about the setup of DFS-R and multiple namespace servers
Exchange 2007 Activesync Sent Items
Problem accessing global IP that are local servers within the optional port of my Firebox
How do i send a copy of a non-delivery report to Postmaster with exchange 2007
Replication rejection of 2 DC's
Adding Shortcuts to the Right Click Menu in Solaris 8 Open Windows
connect to MS Access database from Linux
Emails to msn and a few select domains fail due to time out
Citrix Best Practice
html email background images and outlook