Update of /cvsroot/pure-data/externals/zexy/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1794
Modified Files: runtests.sh Log Message: changed the lognames from "runtest.log.$$" to "log-runtests.<date>"
Index: runtests.sh =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/tests/runtests.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** runtests.sh 21 Dec 2005 10:02:17 -0000 1.1 --- runtests.sh 30 Jan 2006 09:12:44 -0000 1.2 *************** *** 1,6 **** #!/bin/sh
RUNTESTS_TXT=runtests.txt ! RUNTESTS_LOG=runtests.log
ls -1 */*.pd | sed 's/.pd/;/' > ${RUNTESTS_TXT} --- 1,9 ---- #!/bin/sh
+ #SUFFIX="$$" + SUFFIX=$(date +%y%m%d-%H%M%S) + RUNTESTS_TXT=runtests.txt ! RUNTESTS_LOG=log-runtests.${SUFFIX}
ls -1 */*.pd | sed 's/.pd/;/' > ${RUNTESTS_TXT} *************** *** 9,17 ****
function run_nogui() { ! pd ${LIBFLAGS} -nogui runtests_nogui.pd > ${RUNTESTS_LOG}.$$ 2>&1 NUMTESTS=`grep -c . ${RUNTESTS_TXT}` ! echo "regression-test: ${NUMTESTS} tests total" >> ${RUNTESTS_LOG}.$$
! cat ${RUNTESTS_LOG}.$$ | egrep "^regression-test: " | sed -e 's/^regression-test: //' }
--- 12,20 ----
function run_nogui() { ! pd ${LIBFLAGS} -nogui runtests_nogui.pd > ${RUNTESTS_LOG} 2>&1 NUMTESTS=`grep -c . ${RUNTESTS_TXT}` ! echo "regression-test: ${NUMTESTS} tests total" >> ${RUNTESTS_LOG}
! cat ${RUNTESTS_LOG} | egrep "^regression-test: " | sed -e 's/^regression-test: //' }