[BACK]Return to bsd.regress.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.regress.mk between version 1.2 and 1.3

version 1.2, 2002/01/02 03:27:54 version 1.3, 2002/01/03 00:28:28
Line 17 
Line 17 
 REGRESSNAME=${.CURDIR:S/${BSDSRCDIR}\/regress\///}  REGRESSNAME=${.CURDIR:S/${BSDSRCDIR}\/regress\///}
   
 .if defined(PROG) && !empty(PROG)  .if defined(PROG) && !empty(PROG)
 run-regress-${PROG}: ./${PROG}  run-regress-${PROG}: ${PROG}
         ./${PROG}          ./${PROG}
 .endif  .endif
   
Line 35 
Line 35 
 .  if ${REGRESSSKIPTARGETS:M${RT}}  .  if ${REGRESSSKIPTARGETS:M${RT}}
         @echo -n "SKIP " >> ${REGRESSLOG}          @echo -n "SKIP " >> ${REGRESSLOG}
 .  else  .  else
   # XXX - we need a better method to see if a test fails due to timeout or just
   #       normal failure.
   .   if !defined(REGRESSMAXTIME)
         @if cd ${.CURDIR} && ${MAKE} ${RT}; then \          @if cd ${.CURDIR} && ${MAKE} ${RT}; then \
             echo -n "SUCCESS " >> ${REGRESSLOG} ; \              echo -n "SUCCESS " >> ${REGRESSLOG} ; \
         else \          else \
             echo -n "FAIL " >> ${REGRESSLOG} ; \              echo -n "FAIL " >> ${REGRESSLOG} ; \
             echo FAILED ; \              echo FAILED ; \
         fi          fi
   .   else
           @if cd ${.CURDIR} && (ulimit -t ${REGRESSMAXTIME} ; ${MAKE} ${RT}); then \
               echo -n "SUCCESS " >> ${REGRESSLOG} ; \
           else \
               echo -n "FAIL (timeout) " >> ${REGRESSLOG} ; \
               echo FAILED ; \
           fi
   .   endif
 .  endif  .  endif
         @echo ${REGRESSNAME}/${RT:S/^run-regress-//} >> ${REGRESSLOG}          @echo ${REGRESSNAME}/${RT:S/^run-regress-//} >> ${REGRESSLOG}
 .endfor  .endfor

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3