~ubuntu-branches/ubuntu/quantal/ubuntuone-dev-tools/quantal

« back to all changes in this revision

Viewing changes to run-tests

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-06-26 17:19:57 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120626171957-jt2i6d36sbghwhgj
Tags: 3.99.1-0ubuntu1
* New upstream release.
  - Avoid using /usr/bin/env python in scripts. (LP: #984089)
  - Deafult to more appropriate reactor on OS X and Windows.
  - Fix clean-up of UNIX domain sockets on OS X.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
 
# Author: Natalia Bidart <natalia.bidart@canonical.com>
3
2
#
4
 
# Copyright 2010-2011 Canonical Ltd.
 
3
# Copyright 2010-2012 Canonical Ltd.
5
4
#
6
5
# This program is free software: you can redistribute it and/or modify it
7
6
# under the terms of the GNU General Public License version 3, as published
16
15
# with this program.  If not, see <http://www.gnu.org/licenses/>.
17
16
set -e
18
17
 
19
 
bin/u1trial -i "test_squid_windows.py" -c ubuntuone
20
 
bin/u1trial --reactor=twisted -i "test_squid_windows.py" ubuntuone
 
18
PYTHON="python"
 
19
 
 
20
$PYTHON bin/u1trial -i "test_squid_windows.py" -c ubuntuone
 
21
$PYTHON bin/u1trial --reactor=twisted -i "test_squid_windows.py" ubuntuone
21
22
echo "Running style checks..."
22
 
bin/u1lint
 
23
$PYTHON bin/u1lint
23
24
pep8 --repeat . bin/* --exclude=*.bat
24
25
rm -rf _trial_temp
25
26
rm -rf .coverage