diff options
author | Dustin Sallings <dustin@spy.net> | 2012-01-27 23:40:35 -0800 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2012-01-28 00:04:48 -0800 |
commit | 5f37a9cd84b24fda97735a59afb347cc11e30579 (patch) | |
tree | 6a9c783ccd920e7e72b86ba82a92a5f7bdd769b9 | |
parent | a2ef6b475a9171e49c0efc9ddd12677b4db52721 (diff) | |
download | memcached-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-x | t/binary-sasl.t | 7 |
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 { |