function execute
{
- scripts/tctestsgen.sh $1 `pwd` desktop
+ scripts/tctestsgen.sh $1 `pwd` desktop $2
testkit-lite -f `pwd`/tests.xml -o tct-${1}-core-tests.xml -A --comm localhost
scripts/add_style.pl $1
}
if [ -n "$1" ] ; then
echo EXECUTING ONLY $1
- execute $1
+ execute $*
else
for mod in `ls -1 src/ | grep -v CMakeList `
do
if [ $mod != 'common' ] && [ $mod != 'manual' ]; then
echo EXECUTING $mod
- execute $mod
+ execute $mod $*
fi
done
fi