Commit 23973e22 authored by Guillem Jover's avatar Guillem Jover

build: Add a test suite infrastructure

parent 980f04f7
## Process this file with automake to produce Makefile.in
SUBDIRS = include man src
SUBDIRS = include man src test
ACLOCAL_AMFLAGS = -I m4
......
......@@ -45,6 +45,7 @@ AC_CONFIG_FILES([
src/Makefile
src/libbsd.pc
src/libbsd-overlay.pc
test/Makefile
])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT
## Process this file with automake to produce Makefile.in
# Set default values for user variables
CFLAGS = -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter
AM_CPPFLAGS = \
-I$(top_builddir) \
-isystem $(top_srcdir)/include/bsd/ \
-include $(top_builddir)/config.h \
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D__REENTRANT
check_PROGRAMS = \
$(nil)
TESTS = $(check_PROGRAMS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment