~robru/unity-firefox-extension/quantal-sru-candidate

« back to all changes in this revision

Viewing changes to debian/tests/mozmill-tests

  • Committer: Ken VanDine
  • Author(s): Michael Terry
  • Date: 2012-09-20 18:27:41 UTC
  • mfrom: (83.37.52)
  • Revision ID: ken.vandine@canonical.com-20120920182741-xdk72p2ui1ahn7xx
Tags: 2.3.2-0ubuntu1
* New upstream release
  - Fixes buggy test
  - Fixes xid ctype
* Rename source package to match upstream
* debian/tests:
  - Run test suite as a dep8 test (because it needs mozmill via pip)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
pip install mozmill
 
5
export PATH=$PATH:/usr/local/bin
 
6
cd tests
 
7
rm -f output.log
 
8
xvfb-run ./run.sh | tee ./output.log
 
9
if grep "INFO Failed: [1-9].*" ./output.log > /dev/null; then
 
10
  rm -f output.log
 
11
  exit 1
 
12
else
 
13
  rm -f output.log
 
14
  exit 0
 
15
fi