diff options
| author | Daiki Ueno <[email protected]> | 2016-02-09 08:03:54 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-09-22 07:12:43 +0000 |
| commit | 7a6543c2dfeef874a34086c8f3eeb1dbdf1ce822 (patch) | |
| tree | 8e743484432c09e214d1bf7e81d70324848e85e5 /tests/gpg/Makefile.am | |
| parent | gpg: Add option --exit-on-status-write-error (diff) | |
| download | gpgme-7a6543c2dfeef874a34086c8f3eeb1dbdf1ce822.tar.gz gpgme-7a6543c2dfeef874a34086c8f3eeb1dbdf1ce822.zip | |
tests: Add test for cancellation
* tests/gpg/t-cancel.c: New file.
* tests/gpg/Makefile.am (tests_skipped): New variable, default to
t-genkey and t-cancel.
(noinst_PROGRAMS): Add $(tests_skipped).
* tests/gpg/.gitignore: Add t-cancel.
Signed-off-by: Daiki Ueno <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | tests/gpg/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index 98778438..2538f631 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -62,9 +62,17 @@ AM_CPPFLAGS = -I$(top_builddir)/src @GPG_ERROR_CFLAGS@ AM_LDFLAGS = -no-install LDADD = ../../src/libgpgme.la t_thread1_LDADD = ../../src/libgpgme-pthread.la -lpthread +t_cancel_LDADD = ../../src/libgpgme-pthread.la -lpthread + +# We don't run t-genkey and t-cancel in the test suite, because it +# takes too long +tests_skipped = t-genkey +if !HAVE_W32_SYSTEM +tests_skipped += t-cancel +endif + +noinst_PROGRAMS = $(c_tests) $(tests_skipped) -# We don't run t-genkey in the test suite, because it takes too long -noinst_PROGRAMS = $(c_tests) t-genkey clean-local: -$(top_srcdir)/tests/start-stop-agent --stop |
