File: 0007-lang-python-tests-Fix-FTBFS-caused-by-missing-PYTHON.patch

package info (click to toggle)
gpgme1.0 1.24.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,264 kB
  • sloc: ansic: 51,655; cpp: 27,213; sh: 12,776; python: 6,020; javascript: 3,773; makefile: 1,792; lisp: 1,652; sed: 37
file content (27 lines) | stat: -rw-r--r-- 932 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: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Date: Thu, 31 Mar 2022 14:09:55 +0200
Subject: [PATCH] lang: python: tests: Fix FTBFS caused by missing PYTHON

Updated by Paul Gevers <elbrus@debian.org>
---
 lang/python/tests/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index 40a26e2..ca4a3de 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -70,9 +70,11 @@ check: xcheck
 .PHONY: xcheck
 
 xcheck:	all
-	$(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
+	for PYTHON in $(PYTHONS); do \
+	$(TESTS_ENVIRONMENT) $$PYTHON $(srcdir)/run-tests.py \
 	  --interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
-	  $(XTESTS)
+	  $(XTESTS) ; \
+	done
 
 CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
 	gpg-agent.conf pubring.kbx~ gpg.conf pubring.gpg~ \