[DRE-commits] [rabbit] 01/07: Add ruby-tests.rb in order to execute test during build process

Youhei SASAKI uwabami-guest at alioth.debian.org
Fri Aug 9 19:35:43 UTC 2013


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

uwabami-guest pushed a commit to branch master
in repository rabbit.

commit ca1c7bfb7fe09dd503b715d9252a6c7bddb32aed
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Sat Aug 10 04:25:50 2013 +0900

    Add ruby-tests.rb in order to execute test during build process
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/ruby-test-files.yaml |    2 --
 debian/ruby-tests.rb        |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 79dc432..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- test/run-test.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..e16649e
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1 @@
+system("xvfb-run --auto-servernum --server-num=0 #{ENV['RUBY_TEST_BIN']} -Idebian/rabbit/usr/lib:test test/run-test.rb") or raise

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



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