File: 01-add-marker-to-allow-skipping-tests-on-Debian.patch

package info (click to toggle)
ycmd 0%2B20240823%2Bgit8b61f19%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,464 kB
  • sloc: python: 43,993; cpp: 6,138; java: 486; sh: 378; cs: 207; javascript: 150; ansic: 82; makefile: 45; xml: 18; objc: 10
file content (21 lines) | stat: -rw-r--r-- 775 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
Description: Add marker to skip tests on Debian
 The testsuite contains rather a lot and some tests do not work anymore
 due to us patching out third-party usage and such, so to keep the
 changes to the testsuite minimal rather than removing entire tests
 we will mark them for skipping.
 .
 This patch does not mark any test,
 this is to be done in later patches.
Author: David Kalnischkies <donkult@debian.org>
Forwarded: not-needed

--- a/ycmd/tests/test_utils.py
+++ b/ycmd/tests/test_utils.py
@@ -68,6 +68,7 @@
 MacOnly = skipIf( not OnMac(), 'Mac only' )
 UnixOnly = skipIf( OnWindows(), 'Unix only' )
 NotMac = functools.partial( skipIf, OnMac() )
+NotDebian = skip( 'Fails on Debian due to reasons' )
 
 EMPTY_SIGNATURE_HELP = has_entries( {
   'activeParameter': 0,