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

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

Revision 1.2, Wed Aug 23 21:09:27 2000 UTC (17 years, 1 month ago) by alaffin
Branch: MAIN
Changes since 1.1: +2 -2 lines

Update runalltests to correctly report PASS/FAIL of the driver.

#!/bin/sh

cd `dirname $0`
LTPROOT=${PWD}

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

export PATH="${PATH}:${LTPROOT}/doio:${LTPROOT}/tests"

python ${LTPROOT}/runtest/runtests.py ${LTPROOT}/runtest/quickhit ${LTPROOT}/runtest/fs

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

rm -rf /tmp/runalltests-$$