File: 0002-Skip-constraints-test.patch

package info (click to toggle)
golang-golang-x-exp 0.0~git20221028.83b7d23-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 6,276 kB
  • sloc: ansic: 1,900; sh: 278; objc: 276; asm: 48; makefile: 14
file content (20 lines) | stat: -rw-r--r-- 619 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
From: Shengjing Zhu <zhsj@debian.org>
Date: Thu, 31 Mar 2022 01:42:29 +0800
Subject: Skip constraints test

Need to run in go module mode
---
 constraints/constraints_test.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/constraints/constraints_test.go b/constraints/constraints_test.go
index 5bc43a9..2140f6f 100644
--- a/constraints/constraints_test.go
+++ b/constraints/constraints_test.go
@@ -1,3 +1,6 @@
+//go:build ignore
+// +build ignore
+
 // Copyright 2021 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.