From 4a8fffe70595fdacfb2ee81bcae078c3cb24922a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 13 Mar 2017 12:28:58 +0100 Subject: [PATCH] NOW: try to launch tests --- NOW/debian/control | 2 +- NOW/debian/ruby-tests.rb | 2 ++ NOW/debian/rules | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 NOW/debian/ruby-tests.rb diff --git a/NOW/debian/control b/NOW/debian/control index 6db04c2..fcaa0e0 100644 --- a/NOW/debian/control +++ b/NOW/debian/control @@ -2,7 +2,7 @@ Source: now Section: ruby Priority: optional Maintainer: František Dvořák -Build-Depends: debhelper (>= 7.0.50~), dh-apache2, apache2-dev, gem2deb (>= 0.6.1~) +Build-Depends: debhelper (>= 7.0.50~), dh-apache2, apache2-dev, gem2deb (>= 0.6.1~), ruby-ipaddress (>= 0.8.2), ruby-libopennebula, ruby-rspec, ruby-sinatra Standards-Version: 3.9.5 Homepage: https://github.com/CESNET/NOW #Vcs-Git: git://git.debian.org/collab-maint/now.git diff --git a/NOW/debian/ruby-tests.rb b/NOW/debian/ruby-tests.rb new file mode 100644 index 0000000..03e3804 --- /dev/null +++ b/NOW/debian/ruby-tests.rb @@ -0,0 +1,2 @@ +require 'rspec' +RSpec::Core::Runner.run(Dir.glob("./spec/*/*_spec.rb")) diff --git a/NOW/debian/rules b/NOW/debian/rules index 9e7ad76..95b11e3 100755 --- a/NOW/debian/rules +++ b/NOW/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f export DH_VERBOSE=1 # rspec >= 3 required -export DH_RUBY_IGNORE_TESTS=all +#export DH_RUBY_IGNORE_TESTS=all export DH_RUBY_USE_DH_AUTO_INSTALL_DESTDIR=1 %: -- 1.8.2.3