File: Silence-warnings-about-missing-test-data.patch

package info (click to toggle)
rocsparse 6.4.3-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 20,408 kB
  • sloc: cpp: 234,069; f90: 9,307; sh: 2,262; python: 1,939; makefile: 1,588; ansic: 440; xml: 26
file content (27 lines) | stat: -rw-r--r-- 1,237 bytes parent folder | download
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
From: Christian Kastner <ckk@debian.org>
Date: Sat, 28 Jun 2025 21:23:20 +0200
Subject: Silence warnings about missing test data

The gentest script spews a torrent of warnings about test data that we
don't have (it must be downloaded). Silence this.

Forwarded: not-needed
---
 clients/common/rocsparse_gentest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clients/common/rocsparse_gentest.py b/clients/common/rocsparse_gentest.py
index de01167..dddf740 100755
--- a/clients/common/rocsparse_gentest.py
+++ b/clients/common/rocsparse_gentest.py
@@ -408,7 +408,9 @@ def generate(test, function):
                         and (not glob.glob(filename_arg))
                         and (not glob.glob(filename_arg + ".csr"))
                         and (not glob.glob(filename_arg + ".bsr"))):
-                        print("skip unrecognized filename, directory or filename glob expression: '" + test[key] + "'")
+                        # Debian: We don't have these files
+                        #print("skip unrecognized filename, directory or filename glob expression: '" + test[key] + "'")
+                        pass
                     else:
                         cleanlist.append(test[key])