diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-09 17:07:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-14 11:14:39 +0000 |
commit | f885c4cd7f1be3bad417a4c15b19062e47355922 (patch) | |
tree | ab88d4f34b8cf8c7d450072153fcce2bd23d48ae /meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch | |
parent | 13646cc96b1c8cb49b4ecbab9d90b60f8ce1f587 (diff) | |
download | poky-f885c4cd7f1be3bad417a4c15b19062e47355922.tar.gz |
gpgme: 1.11.1 -> 1.12.0
Rebase 0007-qt-python-Add-variables-to-tests.patch
Rework 0007-qt-python-Add-variables-to-tests.patch -> 0007-python-Add-variables-to-tests.patch
Drop newly added option --disable-lang-qt-test which is merged to --disable-gpg-test by
upstream commit [26820ba qt: Respect --disable-gpg-test for tests]
(From OE-Core rev: 9457163b2c4982a64814c6b38c292d7bc61ff643)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | 50 |
1 files changed, 50 insertions, 0 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 new file mode 100644 index 0000000000..af9ddbf24b --- /dev/null +++ b/meta/recipes-support/gpgme/gpgme/0007-python-Add-variables-to-tests.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From 317cdf60165d760572a26db317e3d6edb159b04e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Wed, 17 Oct 2018 23:41:09 +0800 | ||
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 | configure.ac | 5 +++++ | ||
14 | lang/python/Makefile.am | 3 +++ | ||
15 | 2 files changed, 8 insertions(+) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 865bd10..035555a 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -535,6 +535,11 @@ AC_ARG_ENABLE(g13-test, | ||
22 | run_g13_test=$enableval) | ||
23 | AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes") | ||
24 | |||
25 | +run_lang_python_test="yes" | ||
26 | +AC_ARG_ENABLE(lang-python-test, | ||
27 | + AC_HELP_STRING([--disable-lang-python-test], [disable Python regression test]), | ||
28 | + run_lang_python_test=$enableval) | ||
29 | +AM_CONDITIONAL(RUN_LANG_PYTHON_TESTS, test "$run_lang_python_test" = "yes") | ||
30 | |||
31 | # Checks for header files. | ||
32 | AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h | ||
33 | diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am | ||
34 | index ce9a108..0c8cfdc 100644 | ||
35 | --- a/lang/python/Makefile.am | ||
36 | +++ b/lang/python/Makefile.am | ||
37 | @@ -25,7 +25,10 @@ EXTRA_DIST = \ | ||
38 | doc \ | ||
39 | src | ||
40 | |||
41 | +if RUN_LANG_PYTHON_TESTS | ||
42 | SUBDIRS = . tests | ||
43 | +endif | ||
44 | + | ||
45 | |||
46 | .PHONY: prepare | ||
47 | prepare: copystamp | ||
48 | -- | ||
49 | 2.7.4 | ||
50 | |||