gpgme/tests/gpg
NIIBE Yutaka 1cedac2bba tests: Build using GPG_ERROR_MT_LIBS for thread use.
* tests/gpg/Makefile.am (WITH_THREAD_CPPFLAGS): New.
(WITH_THREAD_LDADD): New.
(t_thread1_CPPFLAGS, t_thread_keylist_CPPFLAGS)
(t_thread_keylist_verify_CPPFLAGS)
(t_cancel_CPPFLAGS): Use WITH_THREAD_CPPFLAGS.
(t_thread1_LDADD, t_thread_keylist_LDADD)
(t_thread_keylist_verify_LDADD)
(t_cancel_LDADD): Use WITH_THREAD_LDADD.

--

For library dependency at runtime, it's not 100% right to use
GPG_ERROR_MT_LIBS here, because those test programs don't use
libgpg-error directly at runtime.  But, it's OK, because these are
test programs, which don't need specifying minimum library dependency.

It would be too much for configure of gpgme, to check how threaded
application should be built, just for these test programs.

Co-authored-by: Ben Kibbey <bjk@luxsci.net>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2021-11-12 10:22:21 +09:00
..
.gitignore tests: Add test for cancellation 2016-09-22 09:12:43 +02:00
7A030357C0F253A5BBCD282FFC4E521B37558F5C Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
13CD0F3BDF24BE53FE192D62F18737256FF6E4FD Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
76F7E2B35832976B50A27A282D9B87E44577EB66 Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
cipher-1.asc tests: Update encrypted sample files. 2017-04-24 15:29:07 +02:00
cipher-2.asc tests: Update encrypted sample files. 2017-04-24 15:29:07 +02:00
cipher-3.asc tests: add two new types of encrypted data 2019-05-02 22:23:28 -04:00
cipher-no-sig.asc tests: add two new types of encrypted data 2019-05-02 22:23:28 -04:00
final.test Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
geheim.txt move some file encodings to UTF-8 2016-09-23 16:08:33 +02:00
gpg.conf.in core: Ensure gpg.conf for tests is recreated if necessary 2021-07-08 12:18:45 +02:00
initial.test Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
Makefile.am tests: Build using GPG_ERROR_MT_LIBS for thread use. 2021-11-12 10:22:21 +09:00
mkdemodirs.in Add gpgme_io_write and gpgme_io_read. 2009-06-09 16:01:02 +00:00
pinentry tests: Fix for NetBSD. 2018-01-29 12:04:55 +09:00
pubdemo.asc Add a test for expired subkeys 2005-10-19 08:23:23 +00:00
pubkey-1.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
secdemo.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
seckey-1.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
t-cancel.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-decrypt-verify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-decrypt.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-edit-sign.c core: Fix use-after-free issue in test 2021-06-26 18:03:37 +02:00
t-edit.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-encrypt-large.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-encrypt-mixed.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-encrypt-sign.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-encrypt-sym.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-encrypt.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-eventloop.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-export.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-file-name.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-genkey.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-gpgconf.c tests: Remove/change tests for GnuPG 2.3 with no gpg.keyserver. 2020-05-11 14:20:48 +09:00
t-import.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-keylist-secret-sig.c core: Make listing of signatures work if only secret keys are listed 2021-01-05 17:44:16 +01:00
t-keylist-sig.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-keylist.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-sig-notation.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-sign.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-signers.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-support.h Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-thread1.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-thread-keylist-verify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-thread-keylist.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-verify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-wait.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00