summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/ltpfixup.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/scripts/ltpfixup.sh b/common/scripts/ltpfixup.sh
index 2d45877..b72ddc3 100755
--- a/common/scripts/ltpfixup.sh
+++ b/common/scripts/ltpfixup.sh
@@ -15,7 +15,16 @@ LTP_PATH=/opt/ltp
while getopts T:S:P: arg
do case $arg in
T) TST_CMDFILES="$OPTARG";;
- S) SKIPFILE="-S $SCRIPTPATH/ltp/$OPTARG";;
+ S) OPT=`echo $OPTARG | grep "http"`
+ if [ -z $OPT ] ; then
+ SKIPFILE="-S $SCRIPTPATH/ltp/$OPTARG"
+ else
+ #wget http://people.linaro.org/~naresh.kamboju/skipfile
+ wget $OPTARG
+ SKIPFILE=`echo "${OPTARG##*/}"`
+ SKIPFILE="-S `pwd`/$SKIPFILE"
+ fi
+ ;;
P) LTP_PATH=$OPTARG;;
esac
done