~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to run-tests.sh

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-12-06 17:30:50 UTC
  • Revision ID: package-import@ubuntu.com-20121206173050-n7mxi5fzlsvtdh9l
Tags: 5.5.2
* lp:~mvo/software-center/fix-pygobject-deprecation-warnings:
  - fix deprecation warninings with the latest python-gi
* lp:~mvo/software-center/minor-logging-fixes:
  - drop some LOG.info() messages to LOG.debug() to spam the user
    less
* lp:~mvo/software-center/trivial-close-ui-tweak:
  - hide the main window immediately when closing down
* lp:~mvo/software-center/5.4-fix-save-person-to-config:
  - This branch ensures that the "username" is saved everytime
    that the ubuntu sso whoami call is done
* lp:~mvo/software-center/use-dpkg-builddeps:
  - use dpkg-checkbuilddeps to find test-dependencies
* lp:~mvo/software-center/update-sc-cmdline-flexibility:
  - update-software-center-agent: 
    + add --target-db-path commandline
  - update-software-center: 
    + add --app-install-desktop-dir and --target-db-path commandline
* lp:~mvo/software-center/raring-pep8:
  - fixes for new pep8

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
TESTS_DIR="tests"
6
6
 
7
 
if [ ! -x /usr/bin/python-coverage ]; then
8
 
    echo "please install python-coverage"
9
 
    exit 1
10
 
fi
11
 
 
12
 
if [ ! -x /usr/bin/xvfb-run ]; then
13
 
    echo "please install xvfb"
14
 
    exit 1
15
 
fi
16
 
 
17
 
if ! python -c 'import mock'; then
18
 
    echo "please install python-mock"
19
 
    exit 1
20
 
fi
21
 
 
22
 
if ! python -c 'import unittest2'; then
23
 
    echo "please install python-unittest2"
24
 
    exit 1
25
 
fi
26
 
 
27
 
if [ ! -e "/usr/share/aptdaemon/tests/fake-polkitd.py" ]; then
28
 
    echo "please install python3-aptdaemon.test"
29
 
    exit 1
30
 
fi
31
 
 
32
 
if ! python -c 'import lxml'; then
33
 
    echo "please install python-lxml"
34
 
    exit 1
35
 
fi
36
 
 
37
 
if ! python -c 'import PyQt4'; then
38
 
    echo "please install python-qt4"
39
 
    exit 1
40
 
fi
 
7
dpkg-checkbuilddeps -d 'python-coverage, xvfb, python-mock, python-unittest2,
 
8
                       python3-aptdaemon.test, python-lxml, python-qt4'
41
9
 
42
10
if [ ! -e /var/lib/apt-xapian-index/index ]; then
43
11
    echo "please run sudo update-apt-xapian-index"