[DRE-commits] [SCM] unicorn.git branch, master, updated. debian/4.6.2-1-6-gc4a7f56

Hleb Valoshka 375GNU at Gmail.COM
Sun Mar 31 21:27:58 UTC 2013


The following commit has been merged in the master branch:
commit d945972b15b4b44a950bff937c6ba4486a6b9fbd
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Mon Apr 1 00:15:07 2013 +0300

    use ruby-tests.rb instead of ruby-test-files.yaml
    
      because this tests aren't designed to be loaded all together

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 7d93992..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
---- 
-- test/unit/test_configurator.rb
-- test/unit/test_droplet.rb
-- test/unit/test_http_parser_ng.rb
-- test/unit/test_http_parser.rb
-- test/unit/test_http_parser_xftrust.rb
-- test/unit/test_request.rb
-- test/unit/test_response.rb
-- test/unit/test_server.rb
-- test/unit/test_signals.rb
-- test/unit/test_sni_hostnames.rb
-- test/unit/test_socket_helper.rb
-- test/unit/test_stream_input.rb
-- test/unit/test_tee_input.rb
-- test/unit/test_upload.rb
-- test/unit/test_util.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..6ff4d82
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,7 @@
+require 'rbconfig' unless defined?(RbConfig)
+
+ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+
+Dir['test/unit/test_*.rb'].each do |test|
+  exit($?) unless system("#{ruby} -I. -e \"require '#{test}'\"")
+end

-- 
unicorn.git



More information about the Pkg-ruby-extras-commits mailing list