~ubuntu-branches/ubuntu/trusty/enigmail/trusty-updates

« back to all changes in this revision

Viewing changes to util/run-jsunit

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2015-08-26 20:07:19 UTC
  • mfrom: (0.12.19)
  • Revision ID: package-import@ubuntu.com-20150826200719-t3qktwtjhs7qzjq1
Tags: 2:1.8.2-0ubuntu0.14.04.1
* New upstream release v1.8.2 to support Thunderbird 38
  - Fixes LP: #1489103 - Per-account settings missing after Thunderbird
    update

* Depend on gnupg2 instead of gnupg. Whilst this enigmail version still
  works with gnupg 1.4.*, it pops up an alert warning that it will be the
  last version to do so
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Wrapper script for running jsunit test
 
4
 
 
5
# 1: path to perl exe
 
6
# 2: to perl thunderbird exe
 
7
# 3 - n parameters to thunderbird
 
8
 
 
9
TMPFILE=jsunit.result
 
10
perlpath=$1
 
11
tbpath=$2
 
12
shift 2
 
13
 
 
14
PL_PATH=${perlpath} ${tbpath} "$@" | tee ${TMPFILE}
 
15
 
 
16
if [ `grep -c "^TestResult: failed   : 0" ${TMPFILE}` -eq 0 ]; then
 
17
  echo "Tests failed"
 
18
  res=1
 
19
else
 
20
  echo "All tests succeeded"
 
21
  res=0
 
22
fi
 
23
 
 
24
rm -f ${TMPFILE}
 
25
 
 
26
exit ${res}
 
27