summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch')
-rw-r--r--meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch24
1 files changed, 13 insertions, 11 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch b/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch
index af9ddbf24b..4c97f63cc2 100644
--- a/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch
+++ b/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch
@@ -1,6 +1,6 @@
1From 317cdf60165d760572a26db317e3d6edb159b04e Mon Sep 17 00:00:00 2001 1From 093c88817397425ee4c2333c469467229a46c9e1 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
3Date: Wed, 17 Oct 2018 23:41:09 +0800 3Date: Mon, 5 Aug 2019 01:00:58 +0900
4Subject: [PATCH 7/7] python: Add variables to tests 4Subject: [PATCH 7/7] python: Add variables to tests
5 5
6* configure.ac, lang/python/Makefile.am: 6* configure.ac, lang/python/Makefile.am:
@@ -9,16 +9,18 @@ Subject: [PATCH 7/7] python: Add variables to tests
9Upstream-Status: Submitted [gnupg-devel@gnupg.org] 9Upstream-Status: Submitted [gnupg-devel@gnupg.org]
10 10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12
13Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
12--- 14---
13 configure.ac | 5 +++++ 15 configure.ac | 5 +++++
14 lang/python/Makefile.am | 3 +++ 16 lang/python/Makefile.am | 3 +++
15 2 files changed, 8 insertions(+) 17 2 files changed, 8 insertions(+)
16 18
17diff --git a/configure.ac b/configure.ac 19diff --git a/configure.ac b/configure.ac
18index 865bd10..035555a 100644 20index bd85886..b5ae42e 100644
19--- a/configure.ac 21--- a/configure.ac
20+++ b/configure.ac 22+++ b/configure.ac
21@@ -535,6 +535,11 @@ AC_ARG_ENABLE(g13-test, 23@@ -533,6 +533,11 @@ AC_ARG_ENABLE(g13-test,
22 run_g13_test=$enableval) 24 run_g13_test=$enableval)
23 AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") 25 AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes")
24 26
@@ -31,17 +33,17 @@ index 865bd10..035555a 100644
31 # Checks for header files. 33 # Checks for header files.
32 AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h 34 AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h
33diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am 35diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
34index ce9a108..0c8cfdc 100644 36index 551deee..0fd555e 100644
35--- a/lang/python/Makefile.am 37--- a/lang/python/Makefile.am
36+++ b/lang/python/Makefile.am 38+++ b/lang/python/Makefile.am
37@@ -25,7 +25,10 @@ EXTRA_DIST = \ 39@@ -23,7 +23,10 @@ EXTRA_DIST = \
38 doc \ 40 gpgme.i \
39 src 41 helpers.c helpers.h private.h
40 42
43+SUBDIRS = . examples doc src
41+if RUN_LANG_PYTHON_TESTS 44+if RUN_LANG_PYTHON_TESTS
42 SUBDIRS = . tests 45 SUBDIRS = . tests examples doc src
43+endif 46+endif
44+
45 47
46 .PHONY: prepare 48 .PHONY: prepare
47 prepare: copystamp 49 prepare: copystamp