From: František Dvořák Date: Mon, 13 Mar 2017 11:28:58 +0000 (+0100) Subject: NOW: try to launch tests X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;p=packaging-deb-NOW.git NOW: try to launch tests --- 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 %: