[BACK]Return to runpan.sh CVS log [TXT][DIR] Up to [Development] / projects / ltp

File: [Development] / projects / ltp / Attic / runpan.sh (download)

Revision 1.1, Thu Sep 14 21:54:44 2000 UTC (17 years, 1 month ago) by nstraz
Branch: MAIN

Add pan and associated files.  This is a lightweight test harness.  It works a
lot like runtests.py did, but it is more powerful.  See the man page for
details.

#!/bin/sh
# This will only run the quickhit tests.  
cd `dirname $0`
LTPROOT=${PWD}

mkdir /tmp/runalltests-$$
cd /tmp/runalltests-$$

export PATH="${PATH}:${LTPROOT}/doio:${LTPROOT}/tests"
 
${LTPROOT}/pan/pan -e -S -a $$ -n $$ -f ${LTPROOT}/runtest/quickhit

if [ $? -eq "0" ]; then
  echo pan reported PASS
else
  echo pan reported FAIL
fi

rm -rf /tmp/runalltests-$$