[DRE-commits] [SCM] Packaging for ruby-json branch, master, updated. upstream/1.5.1-3-gf1d7a1d

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Apr 3 10:24:33 UTC 2011


The following commit has been merged in the master branch:
commit 530af1b9084991c52d0ac3eaa413f4b75cc7894e
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date:   Sun Apr 3 12:24:08 2011 +0200

    run test suite

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..9745158
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,4 @@
+ENV['json'] = 'pure'
+system("#{ENV['RUBY_TEST_BIN']} -Ilib -Iext -I. tests/test_*.rb") or raise
+ENV['json'] = 'ext'
+system("#{ENV['RUBY_TEST_BIN']} -Ilib -Iext -I. tests/test_*.rb") or raise

-- 
Packaging for ruby-json



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