Run tests with ‘make check’

The configure --enable-tests flag is no longer needed because
check_PROGRAMS are not built until you run ‘make check’.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-02-18 01:18:50 -05:00
committed by Keith Winstein
parent a611ef5821
commit 7b9e548aa0
2 changed files with 2 additions and 9 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS)
AM_LDFLAGS = $(HARDEN_LDFLAGS)
if BUILD_TESTS
noinst_PROGRAMS = ocb-aes encrypt-decrypt
endif
check_PROGRAMS = ocb-aes encrypt-decrypt
TESTS = ocb-aes encrypt-decrypt
ocb_aes_SOURCES = ocb-aes.cc test_utils.cc test_utils.h
ocb_aes_CPPFLAGS = -I$(srcdir)/../crypto -I$(srcdir)/../util