masqmail
changeset 6:c9bce6bb2a5d
switched tests dir to ordinary Makefile
author | meillo@marmaro.de |
---|---|
date | Fri, 26 Sep 2008 22:55:52 +0200 |
parents | 3cafdebd1479 |
children | 24872a9fe6e1 |
files | configure tests/Makefile tests/Makefile.am tests/Makefile.in |
diffstat | 4 files changed, 20 insertions(+), 309 deletions(-) [+] |
line diff
1.1 --- a/configure Fri Sep 26 22:15:26 2008 +0200 1.2 +++ b/configure Fri Sep 26 22:55:52 2008 +0200 1.3 @@ -6494,7 +6494,7 @@ 1.4 fi 1.5 fi 1.6 1.7 -ac_config_files="$ac_config_files Makefile tests/Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile" 1.8 +ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile" 1.9 1.10 cat >confcache <<\_ACEOF 1.11 # This file is a shell script that caches the results of configure 1.12 @@ -7075,7 +7075,6 @@ 1.13 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 1.14 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 1.15 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 1.16 - "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 1.17 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 1.18 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;; 1.19 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tests/Makefile Fri Sep 26 22:55:52 2008 +0200 2.3 @@ -0,0 +1,19 @@ 2.4 +# Makefile by markus schnalke <meillo@marmaro.de> 2.5 +# heavily based on Makefile.am written by oliver kurth 2.6 + 2.7 +all: test.conf local.sh smtpout.sh 2.8 + 2.9 + 2.10 +test.conf: conf.templ 2.11 + sed s/SMTP_HOST/`hostname`/ conf.templ > test.conf 2.12 + 2.13 +local.sh: test.templ 2.14 + sed s/RECV_HOST/localhost/ test.templ > local.sh 2.15 + chmod ugo+x local.sh 2.16 + 2.17 +smtpout.sh: test.templ 2.18 + sed s/RECV_HOST/`hostname`/ test.templ > smtpout.sh 2.19 + chmod ugo+x smtpout.sh 2.20 + 2.21 +clean: 2.22 + rm -f test.conf local.sh smtpout.sh
3.1 --- a/tests/Makefile.am Fri Sep 26 22:15:26 2008 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,20 +0,0 @@ 3.4 -test.conf: $(srcdir)/conf.templ 3.5 - sed s/SMTP_HOST/`hostname`/ $(srcdir)/conf.templ > test.conf 3.6 - 3.7 -local.sh: $(srcdir)/test.templ 3.8 - sed s/RECV_HOST/localhost/ $(srcdir)/test.templ > local.sh 3.9 - chmod ugo+x local.sh 3.10 - 3.11 -smtpout.sh: $(srcdir)/test.templ 3.12 - sed s/RECV_HOST/`hostname`/ $(srcdir)/test.templ > smtpout.sh 3.13 - chmod ugo+x smtpout.sh 3.14 - 3.15 -input/: 3.16 - mkdir input 3.17 - 3.18 -all: test.conf local.sh smtpout.sh input/ 3.19 - 3.20 -EXTRA_DIST=conf.templ test.templ 3.21 - 3.22 -conf.templ: 3.23 -test.templ:
4.1 --- a/tests/Makefile.in Fri Sep 26 22:15:26 2008 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,287 +0,0 @@ 4.4 -# Makefile.in generated by automake 1.7.9 from Makefile.am. 4.5 -# @configure_input@ 4.6 - 4.7 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 4.8 -# Free Software Foundation, Inc. 4.9 -# This Makefile.in is free software; the Free Software Foundation 4.10 -# gives unlimited permission to copy and/or distribute it, 4.11 -# with or without modifications, as long as this notice is preserved. 4.12 - 4.13 -# This program is distributed in the hope that it will be useful, 4.14 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 4.15 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 4.16 -# PARTICULAR PURPOSE. 4.17 - 4.18 -@SET_MAKE@ 4.19 - 4.20 -srcdir = @srcdir@ 4.21 -top_srcdir = @top_srcdir@ 4.22 -VPATH = @srcdir@ 4.23 -pkgdatadir = $(datadir)/@PACKAGE@ 4.24 -pkglibdir = $(libdir)/@PACKAGE@ 4.25 -pkgincludedir = $(includedir)/@PACKAGE@ 4.26 -top_builddir = .. 4.27 - 4.28 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 4.29 -INSTALL = @INSTALL@ 4.30 -install_sh_DATA = $(install_sh) -c -m 644 4.31 -install_sh_PROGRAM = $(install_sh) -c 4.32 -install_sh_SCRIPT = $(install_sh) -c 4.33 -INSTALL_HEADER = $(INSTALL_DATA) 4.34 -transform = $(program_transform_name) 4.35 -NORMAL_INSTALL = : 4.36 -PRE_INSTALL = : 4.37 -POST_INSTALL = : 4.38 -NORMAL_UNINSTALL = : 4.39 -PRE_UNINSTALL = : 4.40 -POST_UNINSTALL = : 4.41 -ACLOCAL = @ACLOCAL@ 4.42 -AMDEP_FALSE = @AMDEP_FALSE@ 4.43 -AMDEP_TRUE = @AMDEP_TRUE@ 4.44 -AMTAR = @AMTAR@ 4.45 -AUTOCONF = @AUTOCONF@ 4.46 -AUTOHEADER = @AUTOHEADER@ 4.47 -AUTOMAKE = @AUTOMAKE@ 4.48 -AWK = @AWK@ 4.49 -BASE64_LIBS = @BASE64_LIBS@ 4.50 -CC = @CC@ 4.51 -CCDEPMODE = @CCDEPMODE@ 4.52 -CFLAGS = @CFLAGS@ 4.53 -CPP = @CPP@ 4.54 -CPPFLAGS = @CPPFLAGS@ 4.55 -CYGPATH_W = @CYGPATH_W@ 4.56 -DEFS = @DEFS@ 4.57 -DEPDIR = @DEPDIR@ 4.58 -ECHO_C = @ECHO_C@ 4.59 -ECHO_N = @ECHO_N@ 4.60 -ECHO_T = @ECHO_T@ 4.61 -EGREP = @EGREP@ 4.62 -EXEEXT = @EXEEXT@ 4.63 -GLIB_CFLAGS = @GLIB_CFLAGS@ 4.64 -GLIB_LIBS = @GLIB_LIBS@ 4.65 -GREP = @GREP@ 4.66 -IDENT_LIBS = @IDENT_LIBS@ 4.67 -INSTALL_DATA = @INSTALL_DATA@ 4.68 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ 4.69 -INSTALL_SCRIPT = @INSTALL_SCRIPT@ 4.70 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 4.71 -LDFLAGS = @LDFLAGS@ 4.72 -LIBOBJS = @LIBOBJS@ 4.73 -LIBS = @LIBS@ 4.74 -LOCKFILE_LIBS = @LOCKFILE_LIBS@ 4.75 -LTLIBOBJS = @LTLIBOBJS@ 4.76 -MAKEINFO = @MAKEINFO@ 4.77 -MD5_LIBS = @MD5_LIBS@ 4.78 -OBJEXT = @OBJEXT@ 4.79 -PACKAGE = @PACKAGE@ 4.80 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 4.81 -PACKAGE_NAME = @PACKAGE_NAME@ 4.82 -PACKAGE_STRING = @PACKAGE_STRING@ 4.83 -PACKAGE_TARNAME = @PACKAGE_TARNAME@ 4.84 -PACKAGE_VERSION = @PACKAGE_VERSION@ 4.85 -PATH_SEPARATOR = @PATH_SEPARATOR@ 4.86 -PKG_CONFIG = @PKG_CONFIG@ 4.87 -RANLIB = @RANLIB@ 4.88 -RESOLV_LIBS = @RESOLV_LIBS@ 4.89 -SET_MAKE = @SET_MAKE@ 4.90 -SHELL = @SHELL@ 4.91 -STRIP = @STRIP@ 4.92 -USE_LIBLOCKFILE = @USE_LIBLOCKFILE@ 4.93 -VERSION = @VERSION@ 4.94 -ac_ct_CC = @ac_ct_CC@ 4.95 -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 4.96 -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 4.97 -am__include = @am__include@ 4.98 -am__leading_dot = @am__leading_dot@ 4.99 -am__quote = @am__quote@ 4.100 -bindir = @bindir@ 4.101 -build_alias = @build_alias@ 4.102 -datadir = @datadir@ 4.103 -datarootdir = @datarootdir@ 4.104 -docdir = @docdir@ 4.105 -dvidir = @dvidir@ 4.106 -exec_prefix = @exec_prefix@ 4.107 -has_ident = @has_ident@ 4.108 -host_alias = @host_alias@ 4.109 -htmldir = @htmldir@ 4.110 -includedir = @includedir@ 4.111 -infodir = @infodir@ 4.112 -install_sh = @install_sh@ 4.113 -libdir = @libdir@ 4.114 -libexecdir = @libexecdir@ 4.115 -localedir = @localedir@ 4.116 -localstatedir = @localstatedir@ 4.117 -mandir = @mandir@ 4.118 -oldincludedir = @oldincludedir@ 4.119 -pdfdir = @pdfdir@ 4.120 -prefix = @prefix@ 4.121 -program_transform_name = @program_transform_name@ 4.122 -psdir = @psdir@ 4.123 -sbindir = @sbindir@ 4.124 -sharedstatedir = @sharedstatedir@ 4.125 -sysconfdir = @sysconfdir@ 4.126 -target_alias = @target_alias@ 4.127 -with_confdir = @with_confdir@ 4.128 -with_group = @with_group@ 4.129 -with_logdir = @with_logdir@ 4.130 -with_spooldir = @with_spooldir@ 4.131 -with_user = @with_user@ 4.132 - 4.133 -EXTRA_DIST = conf.templ test.templ 4.134 -subdir = tests 4.135 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 4.136 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 4.137 -CONFIG_HEADER = $(top_builddir)/config.h 4.138 -CONFIG_CLEAN_FILES = 4.139 -DIST_SOURCES = 4.140 -DIST_COMMON = README $(srcdir)/Makefile.in Makefile.am 4.141 -all: all-am 4.142 - 4.143 -.SUFFIXES: 4.144 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 4.145 - cd $(top_srcdir) && \ 4.146 - $(AUTOMAKE) --gnu tests/Makefile 4.147 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 4.148 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) 4.149 -uninstall-info-am: 4.150 -tags: TAGS 4.151 -TAGS: 4.152 - 4.153 -ctags: CTAGS 4.154 -CTAGS: 4.155 - 4.156 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 4.157 - 4.158 -top_distdir = .. 4.159 -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) 4.160 - 4.161 -distdir: $(DISTFILES) 4.162 - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 4.163 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 4.164 - list='$(DISTFILES)'; for file in $$list; do \ 4.165 - case $$file in \ 4.166 - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 4.167 - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 4.168 - esac; \ 4.169 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 4.170 - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 4.171 - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 4.172 - dir="/$$dir"; \ 4.173 - $(mkinstalldirs) "$(distdir)$$dir"; \ 4.174 - else \ 4.175 - dir=''; \ 4.176 - fi; \ 4.177 - if test -d $$d/$$file; then \ 4.178 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 4.179 - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 4.180 - fi; \ 4.181 - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 4.182 - else \ 4.183 - test -f $(distdir)/$$file \ 4.184 - || cp -p $$d/$$file $(distdir)/$$file \ 4.185 - || exit 1; \ 4.186 - fi; \ 4.187 - done 4.188 -check-am: all-am 4.189 -check: check-am 4.190 -all-am: Makefile 4.191 - 4.192 -installdirs: 4.193 -install: install-am 4.194 -install-exec: install-exec-am 4.195 -install-data: install-data-am 4.196 -uninstall: uninstall-am 4.197 - 4.198 -install-am: all-am 4.199 - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 4.200 - 4.201 -installcheck: installcheck-am 4.202 -install-strip: 4.203 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 4.204 - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 4.205 - `test -z '$(STRIP)' || \ 4.206 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 4.207 -mostlyclean-generic: 4.208 - 4.209 -clean-generic: 4.210 - 4.211 -distclean-generic: 4.212 - -rm -f $(CONFIG_CLEAN_FILES) 4.213 - 4.214 -maintainer-clean-generic: 4.215 - @echo "This command is intended for maintainers to use" 4.216 - @echo "it deletes files that may require special tools to rebuild." 4.217 -clean: clean-am 4.218 - 4.219 -clean-am: clean-generic mostlyclean-am 4.220 - 4.221 -distclean: distclean-am 4.222 - -rm -f Makefile 4.223 -distclean-am: clean-am distclean-generic 4.224 - 4.225 -dvi: dvi-am 4.226 - 4.227 -dvi-am: 4.228 - 4.229 -info: info-am 4.230 - 4.231 -info-am: 4.232 - 4.233 -install-data-am: 4.234 - 4.235 -install-exec-am: 4.236 - 4.237 -install-info: install-info-am 4.238 - 4.239 -install-man: 4.240 - 4.241 -installcheck-am: 4.242 - 4.243 -maintainer-clean: maintainer-clean-am 4.244 - -rm -f Makefile 4.245 -maintainer-clean-am: distclean-am maintainer-clean-generic 4.246 - 4.247 -mostlyclean: mostlyclean-am 4.248 - 4.249 -mostlyclean-am: mostlyclean-generic 4.250 - 4.251 -pdf: pdf-am 4.252 - 4.253 -pdf-am: 4.254 - 4.255 -ps: ps-am 4.256 - 4.257 -ps-am: 4.258 - 4.259 -uninstall-am: uninstall-info-am 4.260 - 4.261 -.PHONY: all all-am check check-am clean clean-generic distclean \ 4.262 - distclean-generic distdir dvi dvi-am info info-am install \ 4.263 - install-am install-data install-data-am install-exec \ 4.264 - install-exec-am install-info install-info-am install-man \ 4.265 - install-strip installcheck installcheck-am installdirs \ 4.266 - maintainer-clean maintainer-clean-generic mostlyclean \ 4.267 - mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ 4.268 - uninstall-info-am 4.269 - 4.270 -test.conf: $(srcdir)/conf.templ 4.271 - sed s/SMTP_HOST/`hostname`/ $(srcdir)/conf.templ > test.conf 4.272 - 4.273 -local.sh: $(srcdir)/test.templ 4.274 - sed s/RECV_HOST/localhost/ $(srcdir)/test.templ > local.sh 4.275 - chmod ugo+x local.sh 4.276 - 4.277 -smtpout.sh: $(srcdir)/test.templ 4.278 - sed s/RECV_HOST/`hostname`/ $(srcdir)/test.templ > smtpout.sh 4.279 - chmod ugo+x smtpout.sh 4.280 - 4.281 -input/: 4.282 - mkdir input 4.283 - 4.284 -all: test.conf local.sh smtpout.sh input/ 4.285 - 4.286 -conf.templ: 4.287 -test.templ: 4.288 -# Tell versions [3.59,3.63) of GNU make to not export all variables. 4.289 -# Otherwise a system limit (for SysV at least) may be exceeded. 4.290 -.NOEXPORT: