[DRE-commits] [SCM] ruby-mkrf.git branch, master, updated. debian/0.2.3+dfsg-1-7-g0a0e804

Cédric Boutillier cedric.boutillier at gmail.com
Wed Jul 4 12:07:34 UTC 2012


The following commit has been merged in the master branch:
commit 5f2b7e40c1cd7d4fdec958bdc88a8247680fbe38
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Wed Jul 4 12:33:06 2012 +0200

    add 9900_debug_test_failures.patch

diff --git a/debian/patches/9900_debug_test_failures.patch b/debian/patches/9900_debug_test_failures.patch
new file mode 100644
index 0000000..301e833
--- /dev/null
+++ b/debian/patches/9900_debug_test_failures.patch
@@ -0,0 +1,32 @@
+Description: Make the output of the test suite more verbose
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2012-07-04
+
+--- a/test/integration/test_sample_projects.rb
++++ b/test/integration/test_sample_projects.rb
+@@ -10,18 +10,18 @@
+   }
+   
+   # Set to true for full command line output
+-  @@debug = false
++  @@debug = true
+   
+   SAMPLE_LIBS.each do |k,v|
+     define_method("test_that_#{k}_compiles") do
+-      silence_command_line do
++#      silence_command_line do
+         system("rake test:samples:clobber PROJECT=#{k}")
+-      end
++#      end
+       assert_creates_file(SAMPLES_DIR + v) do
+-        silence_command_line do 
++#        silence_command_line do 
+           system("rake test:samples:#{k}")
+-        end
++#        end
+       end
+     end
+   end
+-end
+\ No newline at end of file
++end

-- 
ruby-mkrf.git



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