[DRE-commits] [ruby-ramaze] 03/04: Not running any (meaningful) tests. Document the fact.
Gunnar Wolf
gwolf at alioth.debian.org
Thu Aug 29 17:40:18 UTC 2013
This is an automated email from the git hooks/post-receive script.
gwolf pushed a commit to branch master
in repository ruby-ramaze.
commit 365404dd7921acbf9061b2758fb5d2022974451a
Author: Gunnar Wolf <gwolf at debian.org>
Date: Thu Aug 29 12:26:00 2013 -0500
Not running any (meaningful) tests. Document the fact.
---
debian/control | 3 +--
debian/ruby-tests.rb | 34 +++++++++++++++++++++-------------
2 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/debian/control b/debian/control
index a35a8a9..9802ba9 100644
--- a/debian/control
+++ b/debian/control
@@ -14,8 +14,6 @@ Package: ruby-ramaze
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-innate, ruby-rack
-# bacon (>= 1.1.0, development), dalli (>= 1.0.5, development), erector (>= 0.8.2, development), erubis (>= 2.7.0, development), ezamar (>= 2009.06, development), sass (>= 3.1.4, development), haml (>= 3.1.2, development), hpricot (>= 0.8.4, development), liquid (>= 2.2.2, development), locale (>= 2.0.5, development), maruku (>= 0.6.0, development), mustache (>= 0.99.4, development), rack-contrib (>= 1.1.0, development), rack-test (>= 0.6.0, development), Remarkably (>= 0.6.1, developmen [...]
-# Package migrated to new policy post-wheezy; leave transitional packages until post-jessie
Replaces: libramaze-ruby1.8 (<< 3.1.4-1~), libramaze-ruby (<< 3.1.4-1~)
Breaks: libramaze-ruby1.8 (<< 3.1.4-1~), libramaze-ruby (<< 3.1.4-1~)
Provides: libramaze-ruby1.8, libramaze-ruby
@@ -24,6 +22,7 @@ Description: Simple and modular web framework
The philosophy of it could be expressed in a mix of KISS and POLS,
trying to make simple things simple and complex things possible and fun.
+# Package migrated to new policy post-wheezy; leave transitional packages until post-jessie
Package: libramaze-ruby
Section: oldlibs
Priority: extra
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..23bb601 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,21 @@
-# FIXME
-# 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:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+# TERRIBLY MINIMAL TEST!
+#
+# We are currently NOT running any real tests on package build!
+#
+# To run test, we have to build-depend on the following packages:
+#
+# ruby-bacon, ruby-slim, ruby-liquid, ruby-sequel
+#
+# And to package (at least) the following gems, not yet available:
+#
+# rack/contrib erector remarkably tenjin nagoro lokar ezamar slippers
+# tagz redis localmemcache dalli
+#
+# The proper way to run the test suite would be with 'rake bacon'
+# AFACIT.
+#
+# The only test I can presently do is to check if the library loads
+# successfully.
+
+$: << 'lib'
+require 'ramaze'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-ramaze.git
More information about the Pkg-ruby-extras-commits
mailing list