~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to kunittest/kunittest

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-06 11:49:54 UTC
  • mfrom: (0.4.21)
  • Revision ID: package-import@ubuntu.com-20120606114954-rdls73fzlpzxglbx
Tags: 4:4.8.80-0ubuntu1
* New uptream beta release
* Update dont_export_private_classes.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
export APP=$1
4
 
export DCOPNAME=$2
5
 
 
6
 
if [ ! -x $APP ]
7
 
then
8
 
    kdialog --error "Sorry, $APP is not a valid executable file."
9
 
    exit 1;
10
 
fi
11
 
 
12
 
DEBUGHELPER=`which kunittest_debughelper`
13
 
if [ -z $DEBUGHELPER ]
14
 
then
15
 
    kdialog --error "Sorry, couldn't find the kunittest_debughelper script."
16
 
    exit 3
17
 
fi
18
 
 
19
 
$APP 2>&1 | perl $DEBUGHELPER "$DCOPNAME-*"