[Module-build-checkins] Module-Build/t compat.t,1.24,1.25
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <kwi...@us...> - 2005-06-27 18:51:51
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7103/t Modified Files: compat.t Log Message: Be more robust to differences in Test::Harness output Index: compat.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/compat.t,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- compat.t 8 Jun 2005 04:13:15 -0000 1.24 +++ compat.t 27 Jun 2005 18:51:38 -0000 1.25 @@ -130,7 +130,7 @@ $output = stdout_of( sub { $ran_ok = $build->do_system(@make, 'test', 'TEST_VERBOSE=0') } ); ok $ran_ok; $output =~ s/^/# /gm; # Don't confuse our own test output - ok $output, qr/# test\.+ok\s+# All/, 'Should be non-verbose'; + ok $output, qr/# test\.+ok\s+(?:[\d.]s\s*)?# All tests/, 'Should be non-verbose'; $build->delete_filetree($libdir); ok (! -e $libdir, 1, "Sample installation directory should be cleaned up"); |