summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Sallings <dustin@spy.net>2012-01-27 23:40:35 -0800
committerDustin Sallings <dustin@spy.net>2012-01-28 00:04:48 -0800
commit5f37a9cd84b24fda97735a59afb347cc11e30579 (patch)
tree6a9c783ccd920e7e72b86ba82a92a5f7bdd769b9
parenta2ef6b475a9171e49c0efc9ddd12677b4db52721 (diff)
downloadmemcached-5f37a9cd84b24fda97735a59afb347cc11e30579.tar.gz
Skip SASL tests unless RUN_SASL_TESTS is defined.
This fails for various stupid platform-specific things. The SASL code can be working correctly, but not in a way that is completely predictable on every platform (for example, we may be missing a particular auth mode).
-rwxr-xr-xt/binary-sasl.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/binary-sasl.t b/t/binary-sasl.t
index cc55044..69a05c2 100755
--- a/t/binary-sasl.t
+++ b/t/binary-sasl.t
@@ -12,7 +12,12 @@ my $supports_sasl = supports_sasl();
use Test::More;
if (supports_sasl()) {
- plan tests => 25;
+ if ($ENV{'RUN_SASL_TESTS'}) {
+ plan tests => 25;
+ } else {
+ plan skip_all => 'Skipping SASL tests';
+ exit 0;
+ }
} else {
plan tests => 1;
eval {