File: 0003-Fix-missing-subparser-in-test-harness.patch

package info (click to toggle)
pyside6 6.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,904 kB
  • sloc: python: 202,640; cpp: 91,160; xml: 18,402; javascript: 1,182; ansic: 178; sh: 163; makefile: 87
file content (21 lines) | stat: -rw-r--r-- 636 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
From: Stuart Prescott <stuart@debian.org>
Date: Fri, 3 May 2024 16:48:49 +1000
Subject: Fix missing subparser in test harness

Not needed in the build but needed for debugging the test harness...
---
 testing/command.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/command.py b/testing/command.py
index be4ed8a..e0b73d0 100644
--- a/testing/command.py
+++ b/testing/command.py
@@ -199,6 +199,7 @@ def main():
         type=int,
         help="use build number n (0-based), latest = -1 (default)",
     )
+    parser_list = subparsers.add_parser("list")
     args = parser.parse_args()
 
     if hasattr(args, "buildno"):