Package: ruby-mkrf / 0.2.3+dfsg-5

9900_debug_test_failures.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Make the output of the test suite more verbose
Author: C├ędric Boutillier <cedric.boutillier@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