diff options
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.patch | 52 |
1 files changed, 0 insertions, 52 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 deleted file mode 100644 index 4c97f63cc2..0000000000 --- a/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From 093c88817397425ee4c2333c469467229a46c9e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yuan Chao <yuanc.fnst@cn.fujitsu.com> | ||
3 | Date: Mon, 5 Aug 2019 01:00:58 +0900 | ||
4 | Subject: [PATCH 7/7] python: Add variables to tests | ||
5 | |||
6 | * configure.ac, lang/python/Makefile.am: | ||
7 | New variable to `lang/python', set to `lang/python' if RUN_LANG_PYTHON_TESTS | ||
8 | |||
9 | Upstream-Status: Submitted [gnupg-devel@gnupg.org] | ||
10 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
12 | |||
13 | Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> | ||
14 | --- | ||
15 | configure.ac | 5 +++++ | ||
16 | lang/python/Makefile.am | 3 +++ | ||
17 | 2 files changed, 8 insertions(+) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index bd85886..b5ae42e 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -533,6 +533,11 @@ AC_ARG_ENABLE(g13-test, | ||
24 | run_g13_test=$enableval) | ||
25 | AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") | ||
26 | |||
27 | +run_lang_python_test="yes" | ||
28 | +AC_ARG_ENABLE(lang-python-test, | ||
29 | + AC_HELP_STRING([--disable-lang-python-test], [disable Python regression test]), | ||
30 | + run_lang_python_test=$enableval) | ||
31 | +AM_CONDITIONAL(RUN_LANG_PYTHON_TESTS, test "$run_lang_python_test" = "yes") | ||
32 | |||
33 | # Checks for header files. | ||
34 | AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h | ||
35 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | ||
36 | index 551deee..0fd555e 100644 | ||
37 | --- a/lang/python/Makefile.am | ||
38 | +++ b/lang/python/Makefile.am | ||
39 | @@ -23,7 +23,10 @@ EXTRA_DIST = \ | ||
40 | gpgme.i \ | ||
41 | helpers.c helpers.h private.h | ||
42 | |||
43 | +SUBDIRS = . examples doc src | ||
44 | +if RUN_LANG_PYTHON_TESTS | ||
45 | SUBDIRS = . tests examples doc src | ||
46 | +endif | ||
47 | |||
48 | .PHONY: prepare | ||
49 | prepare: copystamp | ||
50 | -- | ||
51 | 2.7.4 | ||
52 | |||