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: r1134956 - /incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t
Date Sun, 12 Jun 2011 18:47:41 GMT
Author: marvin
Date: Sun Jun 12 18:47:40 2011
New Revision: 1134956

URL: http://svn.apache.org/viewvc?rev=1134956&view=rev
Log:
LUCY-158 Disable LockFreeRegistry test by default.

The LockFreeRegistry test depends on Perl ithreads, which are not rock-solid
reliable everywhere.  Disable it except when LUCY_DEBUG is defined so that we
don't get spurious failures.

Modified:
    incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t

Modified: incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t?rev=1134956&r1=1134955&r2=1134956&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t (original)
+++ incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t Sun Jun 12 18:47:40 2011
@@ -22,6 +22,9 @@ BEGIN {
     if ( $ENV{LUCY_VALGRIND} ) {
         plan( skip_all => 'Known leaks' );
     }
+    elsif ( !defined( $ENV{LUCY_DEBUG} ) ) {
+        plan( skip_all => 'Debug-only test' );
+    }
     elsif ( $Config{usethreads} and $^O !~ /mswin/i ) {
         plan( tests => 1 );
     }



Mime
View raw message