blob: 510feecd0eeebd683de7660ef72447773a22287e [file] [log] [blame]
robbiew87b50552003-05-07 16:01:02 +00001#!/bin/sh
Chris Dearman37550cf2012-10-17 19:54:01 -07002# This will only run the quickhit tests.
robbiew87b50552003-05-07 16:01:02 +00003cd `dirname $0`
4LTPROOT=${PWD}
robbiewa61a7a32003-05-12 22:14:10 +00005echo $LTPROOT | grep testscripts > /dev/null 2>&1
6if [ $? -eq 0 ]; then
7 cd ..
8 export LTPROOT=${PWD}
9fi
10
robbiew87b50552003-05-07 16:01:02 +000011
12mkdir /tmp/runpan-$$
13cd /tmp/runpan-$$
14
15export PATH="${PATH}:${LTPROOT}/doio:${LTPROOT}/testcases/bin"
Chris Dearman37550cf2012-10-17 19:54:01 -070016
root02f8fe82010-02-19 09:42:56 -080017${LTPROOT}/bin/ltp-pan -e $@ -a ltp -n ltp -f ${LTPROOT}/runtest/quickhit
robbiew87b50552003-05-07 16:01:02 +000018
19if [ $? -eq "0" ]; then
subrata_modak14390fd2009-05-19 09:39:11 +000020 echo ltp-pan reported PASS
robbiew87b50552003-05-07 16:01:02 +000021else
subrata_modak14390fd2009-05-19 09:39:11 +000022 echo ltp-pan reported FAIL
robbiew87b50552003-05-07 16:01:02 +000023fi