You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/19 20:43:17 UTC

[lucy-commits] svn commit: r1137412 - in /incubator/lucy/branches/0.1: ./ perl/t/binding/038-lock_free_registry.t

Author: marvin
Date: Sun Jun 19 18:43:16 2011
New Revision: 1137412

URL: http://svn.apache.org/viewvc?rev=1137412&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/branches/0.1/   (props changed)
    incubator/lucy/branches/0.1/perl/t/binding/038-lock_free_registry.t

Propchange: incubator/lucy/branches/0.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Jun 19 18:43:16 2011
@@ -1 +1 @@
-/incubator/lucy/trunk:1134011,1134355,1134472,1134843-1134848,1134953
+/incubator/lucy/trunk:1134011,1134355,1134472,1134843-1134848,1134953,1134956

Modified: incubator/lucy/branches/0.1/perl/t/binding/038-lock_free_registry.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/perl/t/binding/038-lock_free_registry.t?rev=1137412&r1=1137411&r2=1137412&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/perl/t/binding/038-lock_free_registry.t (original)
+++ incubator/lucy/branches/0.1/perl/t/binding/038-lock_free_registry.t Sun Jun 19 18:43:16 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 );
     }