mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
build: Add a test suite infrastructure
This commit is contained in:
parent
980f04f77b
commit
23973e2221
@ -1,6 +1,6 @@
|
||||
## 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
|
||||
|
16
test/Makefile.am
Normal file
16
test/Makefile.am
Normal file
@ -0,0 +1,16 @@
|
||||
## 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)
|
Loading…
Reference in New Issue
Block a user