File: 33-skip-gopls-problems.patch

package info (click to toggle)
ycmd 0%2B20240823%2Bgit8b61f19%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,040 kB
  • sloc: python: 44,018; cpp: 6,138; java: 486; sh: 378; cs: 207; javascript: 150; ansic: 82; makefile: 45; xml: 18; objc: 10
file content (19 lines) | stat: -rw-r--r-- 772 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
Description: Skip gopls problem tests in Debian
 In an earlier version of this patch we were skipping the
 tests as they "mysteriously" failed. Now upstream fixed them,
 but the fix is testing that gopls has a particular bug.
 Upstream hardcodes the gopls version they use, we don't,
 so lets hope gopls resolves that issue, and don't block
 the fix if they do so by having a test failure then.
Author: David Kalnischkies <donkult@debian.org>
Forwarded: not-needed
--- a/ycmd/tests/go/subcommands_test.py
+++ b/ycmd/tests/go/subcommands_test.py
@@ -467,6 +467,7 @@
         RunGoToTest( app, 'GoToImplementation', test )
 
 
+  @NotDebian
   @ExpectedFailure(
     'Gopls bug. See https://github.com/golang/go/issues/68904',
     matches_regexp( 'Browse free symbols' ) )