Skip to content

Commit

Permalink
A script to build a test suite for a director of qgs source files
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5242 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 9, 2006
1 parent 1110aaf commit 52fd227
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/src/core/test_suite_builder.sh
@@ -0,0 +1,9 @@
#!/bin/bash
LIST=`ls ../../../src/core/ |grep .cpp |grep ^qgs |grep -v ~$ |grep -v moc.cpp$ | sed 's/.cpp//g' |awk '$1=$1' RS= |sort`
for FILE in $LIST
do
CLASSNAME=`grep -o "::Qgs[A-Za-z0-9]*(" ../../../src/core/${FILE}.cpp |head -1 | sed 's/:://g'| sed 's/(//g'`
./test_builder.pl $CLASSNAME
#svn add test${FILE}.cpp
done
make install

0 comments on commit 52fd227

Please sign in to comment.