gpgme/tests
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
..
gpg tests: Build using GPG_ERROR_MT_LIBS for thread use. 2021-11-12 10:22:21 +09:00
gpgsm tests: Add ECC key generation for tests/gpgsm. 2020-03-27 19:50:24 +09:00
json tests: Fix gcc incompatibility 2020-10-03 19:54:00 +02:00
opassuan core: Fully implement the inquire callback for assuan_transact 2020-09-09 12:13:20 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
Makefile.am tests: Use GPG_ERROR_MT_LIBS for a test with threads. 2021-11-11 10:08:59 +09:00
run-decrypt.c core: New data flags "io-buffer-size" and "sensitive". 2021-06-14 19:51:28 +02:00
run-encrypt.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-export.c core: New export mode to export as OpenSSH public key. 2020-07-16 12:00:46 +02:00
run-genkey.c core: New function gpgme_op_setexpire. 2020-08-04 16:51:56 +02:00
run-identify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-import.c tests: Add cms mode to run-import 2019-05-02 10:26:44 +02:00
run-keylist.c tests: Improve the output of the run-keylist helper. 2021-05-28 18:31:43 +02:00
run-keysign.c core: New flag GPGME_KEYSIGN_FORCE. 2021-03-11 11:49:07 +01:00
run-sign.c core: New context flags "include-key-block" and "auto-key-import". 2020-03-17 17:24:21 +01:00
run-support.h Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-swdb.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-threaded.c core: Allow for older compilers. 2021-05-12 08:50:04 +02:00
run-tofu.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-verify.c core: Allow for older compilers. 2021-05-12 08:50:04 +02:00
start-stop-agent build: Fix make distcheck problem. 2021-08-27 14:13:36 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-engine-info.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-version.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00