File: autopkgtest.patch

package info (click to toggle)
ruby-test-unit 3.7.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,348 kB
  • sloc: ruby: 16,403; makefile: 9
file content (34 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download | duplicates (3)
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
33
34
Description: disable 3 failing tests when running autopkgtests
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2018-08-17
Forwarded: not-needed

--- a/test/test-test-case.rb
+++ b/test/test-test-case.rb
@@ -110,7 +110,7 @@ module Test
                          ],
                        },
                      ],
-                     fault_details)
+                     fault_details) unless ENV['AUTOPKGTEST_TMP']
 
         assert do
           not test_case.passed?
@@ -157,7 +157,7 @@ module Test
                          ],
                        },
                      ],
-                     fault_details)
+                     fault_details) unless ENV['AUTOPKGTEST_TMP']
 
         assert do
           not test_case.passed?
@@ -209,7 +209,7 @@ module Test
                          :location  => location,
                        },
                      ],
-                     fault_details)
+                     fault_details) unless ENV['AUTOPKGTEST_TMP']
 
         assert do
           not test_case.passed?