mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +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
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
SUBDIRS = include man src
|
SUBDIRS = include man src test
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ AC_CONFIG_FILES([
|
|||||||
src/Makefile
|
src/Makefile
|
||||||
src/libbsd.pc
|
src/libbsd.pc
|
||||||
src/libbsd-overlay.pc
|
src/libbsd-overlay.pc
|
||||||
|
test/Makefile
|
||||||
])
|
])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_OUTPUT
|
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