diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 13:41:06 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-04 13:41:06 +1000 |
commit | 150a81c7457e6b37e09f26aebef447dd2f3ae3f7 (patch) | |
tree | eb5aef177deb5dd41fa9e9fb9d8c395d7a669bd1 | |
parent | c2b9827695589ce8554df7c1776969cdf89b8c16 (diff) |
- (dtucker) Portablize regression tests. Parts contributed by Roumen
Petrov, David M. Williams and Corinna Vinschen.
- [Makefile.in] Add "make tests" target and "make clean" hooks.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.in | 31 |
2 files changed, 36 insertions, 2 deletions
@@ -1,3 +1,8 @@ +20030904 + - (dtucker) Portablize regression tests. Parts contributed by Roumen + Petrov, David M. Williams and Corinna Vinschen. + - [Makefile.in] Add "make tests" target and "make clean" hooks. + 20030903 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/08/26 09:58:43 @@ -987,4 +992,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.2941 2003/09/03 02:13:30 djm Exp $ +$Id: ChangeLog,v 1.2942 2003/09/04 03:41:06 dtucker Exp $ diff --git a/Makefile.in b/Makefile.in index 0ae7e445..dfc510fa 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.242 2003/08/26 02:22:04 dtucker Exp $ +# $Id: Makefile.in,v 1.243 2003/09/04 03:41:06 dtucker Exp $ # uncomment if you run a non bourne compatable shell. Ie. csh #SHELL = @SH@ @@ -195,6 +195,7 @@ clean: rm -f *.o *.a $(TARGETS) logintest config.cache config.log rm -f *.out core (cd openbsd-compat && $(MAKE) clean) + (cd $(srcdir)/regress && $(MAKE) $@) distclean: rm -f *.o *.a $(TARGETS) logintest config.cache config.log @@ -366,3 +367,31 @@ uninstall: -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 + +tests: $(TARGETS) + BUILDDIR=`pwd`; \ + mkdir -p `pwd`/regress; \ + TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ + TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ + TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \ + TEST_SSH_SSHADD="$${BUILDDIR}/ssh-add"; \ + TEST_SSH_SSHKEYGEN="$${BUILDDIR}/ssh-keygen"; \ + TEST_SSH_SSHKEYSCAN="$${BUILDDIR}/ssh-keyscan"; \ + TEST_SSH_SFTP="$${BUILDDIR}/sftp"; \ + TEST_SSH_SFTPSERVER="$${BUILDDIR}/sftp-server"; \ + cd $(srcdir)/regress || exit $$?; \ + $(MAKE) \ + .OBJDIR="$${BUILDDIR}/regress" \ + .CURDIR="`pwd`" \ + OBJ="$${BUILDDIR}/regress" \ + PATH="$${BUILDDIR}:$${PATH}" \ + TEST_SSH_SSH="$${TEST_SSH_SSH}" \ + TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ + TEST_SSH_SSHAGENT="$${TEST_SSH_SSHAGENT}" \ + TEST_SSH_SSHADD="$${TEST_SSH_SSHADD}" \ + TEST_SSH_SSHKEYGEN="$${TEST_SSH_SSHKEYGEN}" \ + TEST_SSH_SSHKEYSCAN="$${TEST_SSH_SSHKEYSCAN}" \ + TEST_SSH_SFTP="$${TEST_SSH_SFTP}" \ + TEST_SSH_SFTPSERVER="$${TEST_SSH_SFTPSERVER}" \ + EXEEXT="$${EXEEXT}" \ + $@ |