You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/kunittest/kunittest

20 lines
357 B

#!/bin/bash
export APP=$1
export DCOPNAME=$2
if [ ! -x $APP ]
then
kdialog --error "Sorry, $APP is not a valid executable file."
exit 1;
fi
DEBUGHELPER=`which kunittest_debughelper`
if [ -z $DEBUGHELPER ]
then
kdialog --error "Sorry, couldn't find the kunittest_debughelper script."
exit 3
fi
$APP 2>&1 | perl $DEBUGHELPER "$DCOPNAME-*"