[DRE-commits] [nanoc] 03/05: fix autopkgtest: add yard to depends and prefix tests path with ./

Cédric Boutillier boutil at moszumanska.debian.org
Mon Oct 6 22:25:41 UTC 2014


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

boutil pushed a commit to branch master
in repository nanoc.

commit 259ff435d7b009e4f605c135486b330e1ec0fc25
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sun Aug 31 23:07:21 2014 +0200

    fix autopkgtest: add yard to depends and prefix tests path with ./
---
 debian/ruby-tests.rb | 4 ++--
 debian/tests/control | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 906391b..d0f688b 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -11,9 +11,9 @@ require 'yard'
 #$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/..'))
 
 # require our test helper so we don't have to in each individual test
-require 'test/helper'
+require './test/helper'
 
-test_files = Dir['test/base/core_ext/*_spec.rb'] + Dir['test/{base,cli,data_sources,filters,helpers,tasks}/**/test_*.rb']
+test_files = Dir['./test/base/core_ext/*_spec.rb'] + Dir['./test/{base,cli,data_sources,filters,helpers,tasks}/**/test_*.rb']
 #test_files = Dir['test/filters/test_*.rb']
 #test_files = Dir['test/filters/test_bluecloth.rb']
 test_files.each { |f| require f }
diff --git a/debian/tests/control b/debian/tests/control
index 365e696..bf6bc80 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Test-Command: gem2deb-test-runner --autopkgtest 2>&1
-Depends: @, gem2deb-test-runner, asciidoc, coderay, python-pygments, rake, ruby-bluecloth, ruby-builder, ruby-coffee-script, ruby-compass, ruby-coveralls, ruby-erubis, ruby-fog (>= 0.13.0~), ruby-haml, ruby-kramdown, ruby-maruku, ruby-mime-types, ruby-minitest, ruby-mocha, ruby-mustache, ruby-nokogiri, ruby-rack, ruby-rdiscount, ruby-redcloth, ruby-rubypants, ruby-sass (>= 3.2.2~), ruby-slim, ruby-uglifier, rsync
+Depends: @, gem2deb-test-runner, asciidoc, coderay, python-pygments, rake, ruby-bluecloth, ruby-builder, ruby-coffee-script, ruby-compass, ruby-coveralls, ruby-erubis, ruby-fog (>= 0.13.0~), ruby-haml, ruby-kramdown, ruby-maruku, ruby-mime-types, ruby-minitest, ruby-mocha, ruby-mustache, ruby-nokogiri, ruby-rack, ruby-rdiscount, ruby-redcloth, ruby-rubypants, ruby-sass (>= 3.2.2~), ruby-slim, ruby-uglifier, rsync, yard
 

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



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