[DRE-commits] [SCM] ruby-text.git branch, master, updated. upstream/0.2.0-9-gfd38af4
Olivier Sallou
olivier.sallou at irisa.fr
Tue Oct 25 07:16:09 UTC 2011
The following commit has been merged in the master branch:
commit fd38af4a89983cd3255274fca81952fc311c2610
Author: Olivier Sallou <olivier.sallou at irisa.fr>
Date: Tue Oct 25 09:04:49 2011 +0200
replace exec by system call
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index e1dbde4..f658ed2 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -3,8 +3,8 @@ $: << 'lib' << '.'
require 'rbconfig'
ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-exec("#{ruby} -I. test/test_double_metaphone.rb")
-exec("#{ruby} -I. test/test_levenshtein.rb")
-exec("#{ruby} -I. test/test_metaphone.rb")
-exec("#{ruby} -I. test/test_porter_stemming.rb")
-exec("#{ruby} -I. test/test_soundex.rb")
+system("#{ruby} -I. test/test_double_metaphone.rb") or raise
+system("#{ruby} -I. test/test_levenshtein.rb") or raise
+system("#{ruby} -I. test/test_metaphone.rb") or raise
+system("#{ruby} -I. test/test_porter_stemming.rb") or raise
+system("#{ruby} -I. test/test_soundex.rb") or raise
--
ruby-text.git
More information about the Pkg-ruby-extras-commits
mailing list