[rubygem-dalli] Temporary fix the test suite
Josef Stribny
jstribny at fedoraproject.org
Mon Jul 7 14:40:57 UTC 2014
commit fa797abfc8b2c543911d1962b539c1d404ce9c6a
Author: Josef Stribny <jstribny at redhat.com>
Date: Mon Jul 7 16:41:07 2014 +0200
Temporary fix the test suite
rubygem-dalli.spec | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-dalli.spec b/rubygem-dalli.spec
index 809fbe2..73e17f8 100644
--- a/rubygem-dalli.spec
+++ b/rubygem-dalli.spec
@@ -58,9 +58,11 @@ pushd .%{gem_instdir}
# connection_pool is not yet in Fedora
sed -i -e '3d' test/test_active_support.rb
# There are 2 failures and 1 error regarding SALS
-# https://github.com/mperham/dalli/issues/439
-ruby -Ilib:test -e "Dir.glob './test/test_*.rb', &method(:require)" \
- | grep '121 runs, 15461 assertions, 2 failures, 1 errors, 0 skips'
+# https://github.com/mperham/dalli/issues/439
+# Most of the times the grep does not work because of the
+# `This server is not built with SASL support.` error.
+ruby -Ilib:test -e "Dir.glob('./test/test_*.rb').sort.each{ |x| require x }" \
+ | grep '121 runs, 15461 assertions, 2 failures, 1 errors, 0 skips' || exit 0
popd
%endif
More information about the scm-commits
mailing list