Skip to content

Commit 51eed09

Browse files
author
timlinux
committed
A script to build a test suite for a director of qgs source files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5242 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7f32d17 commit 51eed09

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/src/core/test_suite_builder.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
LIST=`ls ../../../src/core/ |grep .cpp |grep ^qgs |grep -v ~$ |grep -v moc.cpp$ | sed 's/.cpp//g' |awk '$1=$1' RS= |sort`
3+
for FILE in $LIST
4+
do
5+
CLASSNAME=`grep -o "::Qgs[A-Za-z0-9]*(" ../../../src/core/${FILE}.cpp |head -1 | sed 's/:://g'| sed 's/(//g'`
6+
./test_builder.pl $CLASSNAME
7+
#svn add test${FILE}.cpp
8+
done
9+
make install

0 commit comments

Comments
 (0)