File: 9900_debug_test_failures.patch

package info (click to toggle)
ruby-mkrf 0.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,688 kB
  • sloc: ansic: 12,494; ruby: 6,998; sh: 790; yacc: 374; makefile: 57; cpp: 10
file content (32 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (2)
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