[DRE-commits] [ruby-eventmachine] 04/05: Run all tests in tests/ directory
Balint Reczey
rbalint at moszumanska.debian.org
Mon Jun 27 22:03:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
rbalint pushed a commit to branch wheezy-security
in repository ruby-eventmachine.
commit 3b6d34a9fa4270aa8326be668a17d13082a8608f
Author: Balint Reczey <balint at balintreczey.hu>
Date: Mon Jun 27 22:54:36 2016 +0200
Run all tests in tests/ directory
---
debian/ruby-tests.rb | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index a1ede8c..6e644c1 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1 +1,12 @@
-system("#{ENV['RUBY_TEST_BIN']} ./tests/test_*.rb") or raise
+EXCLUDED_TESTS=["tests/test_process_watch.rb",
+ "tests/test_processes.rb",
+ "tests/test_ssl_args.rb",
+ "tests/test_ssl_methods.rb",
+ "tests/test_ssl_verify.rb"
+ ]
+(Dir["tests/test_*.rb"]-EXCLUDED_TESTS).each do |f|
+ puts "*** running #{f} ***"
+ begin
+ system("#{ENV['RUBY_TEST_BIN']} -Itests #{f}") || exit($?.exitstatus)
+ end
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-eventmachine.git
More information about the Pkg-ruby-extras-commits
mailing list