Skip to content
Permalink
Browse files

Improved script a bit, now it works for me.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5260 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 11, 2006
1 parent 6b5c60f commit 5fec38ae5bdc89ec2c943440d5d73b674b366175
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/runtests.sh
@@ -1,6 +1,6 @@
#!/bin/bash
#set -x
DIRS=`ls -1F |grep / |sed 's/\///g'`
DIRS=`ls -1F | grep '/$'`

TOTALDIRS=0
TOTALEXES=0
@@ -13,10 +13,10 @@ do
TOTALDIRFAILED=0
TOTALDIRPASSED=0
TOTALDIRSKIPPED=0
LIST=`ls -lah $DIR |grep rwxr-xr-x |grep -v ^d |grep -v pl$ |grep -v ~$ |grep -v .sh$ |awk '{print $8}'|awk '$1=$1' RS=`
LIST=`find $DIR -type f -perm +111 -maxdepth 1 | egrep -v '(\.sh$|\.pl$)'`
for FILE in $LIST
do
RESULT=`$DIR/${FILE} | tail -2 |head -1` #TODO maybe just grep for 'Totals'
RESULT=`${FILE} | grep '^Totals:'`
PASSED=`echo ${RESULT} | awk '{print $2}'`
FAILED=`echo ${RESULT} | awk '{print $4}'`
SKIPPED=`echo ${RESULT} | awk '{print $6}'`

0 comments on commit 5fec38a

Please sign in to comment.
You can’t perform that action at this time.