lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] svn commit: r1141806 - in /incubator/lucy/branches/0.1: ./ perl/t/025-debug.t perl/t/106-locking.t perl/t/308-simple.t perl/t/510-remote_search.t
Date Fri, 01 Jul 2011 05:24:42 GMT
Author: marvin
Date: Fri Jul  1 05:24:41 2011
New Revision: 1141806

URL: http://svn.apache.org/viewvc?rev=1141806&view=rev
Log:
LUCY-164 Skip tests which fork() under Cygwin

Tests which fork() are just as problematic under Cygwin as under other Windows
build enviroments, so detect Cygwin and skip such tests.

Modified:
    incubator/lucy/branches/0.1/   (props changed)
    incubator/lucy/branches/0.1/perl/t/025-debug.t
    incubator/lucy/branches/0.1/perl/t/106-locking.t
    incubator/lucy/branches/0.1/perl/t/308-simple.t
    incubator/lucy/branches/0.1/perl/t/510-remote_search.t

Propchange: incubator/lucy/branches/0.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jul  1 05:24:41 2011
@@ -1 +1 @@
-/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709,1139711,1139714,1140001,1140440,1140964
+/incubator/lucy/trunk:1126586,1134011,1134355,1134472,1134843-1134848,1134953,1134956,1139709,1139711,1139714,1140001,1140287,1140440,1140964

Modified: incubator/lucy/branches/0.1/perl/t/025-debug.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/perl/t/025-debug.t?rev=1141806&r1=1141805&r2=1141806&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/perl/t/025-debug.t (original)
+++ incubator/lucy/branches/0.1/perl/t/025-debug.t Fri Jul  1 05:24:41 2011
@@ -53,7 +53,8 @@ ASSERT(1);
 pass("ASSERT(true) didn't die");
 
 SKIP: {
-    skip( "Windows fork not supported by Lucy", 3 ) if $^O =~ /mswin/i;
+    skip( "Windows fork not supported by Lucy", 3 )
+    	if $^O =~ /(mswin|cygwin)/i;
 
     my $stderr_out = capture_debug( 'Lucy.xs', 'Borax' );
     like( $stderr_out, qr/Borax/, "DEBUG - file name" );

Modified: incubator/lucy/branches/0.1/perl/t/106-locking.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/perl/t/106-locking.t?rev=1141806&r1=1141805&r2=1141806&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/perl/t/106-locking.t (original)
+++ incubator/lucy/branches/0.1/perl/t/106-locking.t Fri Jul  1 05:24:41 2011
@@ -23,7 +23,7 @@ use File::Spec::Functions qw( catfile );
 use Lucy::Test::TestUtils qw( init_test_index_loc );
 
 BEGIN {
-    if ( $^O =~ /mswin/i ) {
+    if ( $^O =~ /(mswin|cygwin)/i ) {
         plan( 'skip_all', "fork on Windows not supported by Lucy" );
     }
     else {

Modified: incubator/lucy/branches/0.1/perl/t/308-simple.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/perl/t/308-simple.t?rev=1141806&r1=1141805&r2=1141806&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/perl/t/308-simple.t (original)
+++ incubator/lucy/branches/0.1/perl/t/308-simple.t Fri Jul  1 05:24:41 2011
@@ -51,7 +51,8 @@ is( $lucy->search( query => 'cream' ), 4
     "search uses correct PolyAnalyzer" );
 
 SKIP: {
-    skip( "fork on Windows not supported by Lucy", 1 ) if $^O =~ /mswin/i;
+    skip( "fork on Windows not supported by Lucy", 1 )
+    	if $^O =~ /(mswin|cygwin)/i;
 
     # We need another one:
     my $test_index_loc = init_test_index_loc();

Modified: incubator/lucy/branches/0.1/perl/t/510-remote_search.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/perl/t/510-remote_search.t?rev=1141806&r1=1141805&r2=1141806&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/perl/t/510-remote_search.t (original)
+++ incubator/lucy/branches/0.1/perl/t/510-remote_search.t Fri Jul  1 05:24:41 2011
@@ -22,7 +22,7 @@ use IO::Socket::INET;
 
 my $PORT_NUM = 7890;
 BEGIN {
-    if ( $^O =~ /mswin/i ) {
+    if ( $^O =~ /(mswin|cygwin)/i ) {
         plan( 'skip_all', "fork on Windows not supported by Lucy" );
     }
     elsif ( $ENV{LUCY_VALGRIND} ) {



Mime
View raw message