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:
committed by
Keith Winstein
parent
a611ef5821
commit
7b9e548aa0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user