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/12 20:47:41 UTC
[lucy-commits] svn commit: r1134956 -
/incubator/lucy/trunk/perl/t/binding/038-lock_free_registry.t
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 );
}