Skip to content

Commit

Permalink
Skip SASL tests unless RUN_SASL_TESTS is defined.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
dustin committed Jan 28, 2012
1 parent a2ef6b4 commit 5f37a9c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion t/binary-sasl.t
Expand Up @@ -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 {
Expand Down

0 comments on commit 5f37a9c

Please sign in to comment.