head 1.2; access; symbols MM_1_0b3:1.1.1.1 MM_1_0b2plus:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.2 date 99.03.15.15.18.39; author rse; state dead; branches; next 1.1; 1.1 date 99.03.15.11.12.50; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.03.15.11.12.50; author rse; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @#!/bin/sh ## ## fulltest -- Runs a full MM test suite on a platform ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. ## LOG="$0.log" touch $LOG OS=`./config.guess` OS=`./config.sub $OS` testit () { echo dummy | awk '{ printf("%s ... ", STR); }' STR="$OS: $*" make distclean >/dev/null 2>&1 rm -f config.cache >/dev/null 2>&1 ./configure $* --disable-shared >>$LOG 2>&1 if [ $? -ne 0 ]; then echo "Failed (configuration)" tail -4 $LOG | sed -e 's;^;| ;' continue; fi make >>$LOG 2>&1 if [ $? -ne 0 ]; then echo "Failed (compilation)" tail -4 $LOG | sed -e 's;^;| ;' continue; fi make test >>$LOG 2>&1 if [ $? -ne 0 ]; then echo "Failed (runtime)" tail -4 $LOG | sed -e 's;^;| ;' continue; fi echo "Ok" } for shm in MMFILE MMZERO MMPOSX MMANON IPCSHM; do testit --with-shm=$shm done for sem in FLOCK FCNTL IPCSEM; do testit --with-sem=$sem done @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import into CVS @ text @@