mirror of
				https://gitlab.freedesktop.org/libbsd/libbsd.git
				synced 2025-11-04 04:10:01 +01:00 
			
		
		
		
	build: Add a test suite infrastructure
This commit is contained in:
		@@ -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)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user