[DRE-commits] [ruby-devise] 11/43: adding debian/ruby-tests.rb

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Apr 21 13:11:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-devise.

commit 31ae35291aee5ccd9e8ca85964c8fb593e0b5f4c
Author: markus tornow <tornow at riseup.net>
Date:   Mon Nov 19 09:41:40 2012 +0100

    adding debian/ruby-tests.rb
---
 debian/ruby-tests.rb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..e186368
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,13 @@
+#there's a spec/ or a test/ directory in the upstream source, but
+# no test suite was defined in the Gem specification. It would be
+# a good idea to define it here so the package gets tested at build time.
+# Examples:
+$: << 'test' << '.'xf
+Dir['{spec}/**/*.rb'].each { |f| require f }
+#
+#require 'test/.drive-test.rb'
+#require 'test/ts_foo.rb'
+#
+# require 'rbconfig'
+# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
+# exec("#{ruby} -I. test/runtests.rb")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-devise.git



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