[DRE-commits] [ruby-gsl] 10/11: Run tests skipping a failing file

Balint Reczey rbalint at moszumanska.debian.org
Mon Jun 8 15:31:48 UTC 2015


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

rbalint pushed a commit to branch master
in repository ruby-gsl.

commit b3db9b14a9b82fad0bc3f78ee8f3d1c97221ad8a
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Mon Jun 8 17:11:00 2015 +0200

    Run tests skipping a failing file
---
 debian/ruby-tests.rb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 8be8fda..d8e8761 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,12 @@
 $LOAD_PATH << File.expand_path("lib/")
+$LOAD_PATH << File.expand_path("test/")
 
 EXPANDED_LOAD_PATH=$LOAD_PATH.map { |d| File.expand_path d }
-EXCLUDED_TESTS=["tests/sf/make_test.rb",
-                "tests/speed/bench.rb",
-                "tests/tensor.rb"
+EXCLUDED_TESTS=["test/gsl/histo_test.rb"
                ]
 
 oldpath = Dir.getwd
-(Dir["tests/**/*.rb"]-EXCLUDED_TESTS).each do |f|
+(Dir["test/**/*.rb"]-EXCLUDED_TESTS).each do |f|
   puts "*** running #{f} ***"
   dir, filename = File.split f
   begin

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



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