summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: b13e16b1daccc9a771c0520ab505ef82609f06c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
#
# This file is part of Libgcrypt.
#
# Libgcrypt is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# Libgcrypt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

## Process this file with automake to produce Makefile.in

TESTS = t-mpi-bit prime register ac ac-schemes ac-data basic \
        tsexp keygen pubkey hmac keygrip

# pkbench uses mmap for no good reason.  Needs to be fixed.  Code for
# this can be found in libksba/tests. 
# random tests forking thus no a test for W32 does not make any sense.
if !HAVE_W32_SYSTEM
TESTS += pkbench random
endif

# The last test to run.
TESTS += benchmark


# Need to include ../src in addition to top_srcdir because gcrypt.h is
# a built header.
AM_CPPFLAGS = -I../src -I$(top_srcdir)/src
AM_CFLAGS = $(GPG_ERROR_CFLAGS)

LDADD = ../src/libgcrypt.la

EXTRA_PROGRAMS = testapi
noinst_PROGRAMS = $(TESTS)