[DRE-commits] [kwalify] 02/04: [patch/fix] another path problems hidden in the tests
Marc Dequènes
duck at moszumanska.debian.org
Wed Aug 5 22:23:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
duck pushed a commit to branch master
in repository kwalify.
commit 29c9da750b7a39437b9f59a82c95d4f3e442e132
Author: Marc Dequènes (Duck) <Duck at DuckCorp.org>
Date: Wed Aug 5 22:33:47 2015 +0200
[patch/fix] another path problems hidden in the tests
---
debian/patches/test_paths_fix.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/debian/patches/test_paths_fix.patch b/debian/patches/test_paths_fix.patch
index af9443e..27814fc 100644
--- a/debian/patches/test_paths_fix.patch
+++ b/debian/patches/test_paths_fix.patch
@@ -11,6 +11,15 @@ Index: kwalify/test/test-users-guide.rb
CURR_DIR = Dir.pwd
for item in Dir.glob("#{DATA_DIR}/*.result").sort()
filename = File.basename(item)
+@@ -24,7 +24,7 @@ class UsersGuideTest < Test::Unit::TestC
+ _test()
+ end
+ def test_example_address_book_ruby
+- @command = 'ruby example_address_book.rb'
++ @command = 'ruby -I. example_address_book.rb'
+ @result = File.read('example_address_book_ruby.result')
+ @testopts = { 'delete_object_id' => true }
+ _test()
Index: kwalify/test/test.rb
===================================================================
--- kwalify.orig/test/test.rb
@@ -34,3 +43,13 @@ Index: kwalify/test/test.rb
end
+Index: kwalify/test/data/users-guide/howto5_databinding.result
+===================================================================
+--- kwalify.orig/test/data/users-guide/howto5_databinding.result
++++ kwalify/test/data/users-guide/howto5_databinding.result
+@@ -1,4 +1,4 @@
+-$ ruby loadbabel.rb
++$ ruby -I. loadbabel.rb
+ {"teams"=>
+ [#<Babel::Team:0x53e0f8
+ @chief=
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/kwalify.git
More information about the Pkg-ruby-extras-commits
mailing list