~ubuntu-branches/ubuntu/wily/evolution-data-server/wily

« back to all changes in this revision

Viewing changes to test-driver

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2015-07-20 13:34:59 UTC
  • mfrom: (1.1.126) (1.2.48 sid)
  • Revision ID: package-import@ubuntu.com-20150720133459-g6y46hnu5ewtoz08
Tags: 3.16.4-0ubuntu2
debian/patches/0001-Bug-752373-Monthly-events-do-not-recur-correctly.patch:
Cherry-pick patch from upstream to fix events not recurring correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
scriptversion=2013-07-13.22; # UTC
5
5
 
6
 
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
 
6
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
7
7
#
8
8
# This program is free software; you can redistribute it and/or modify
9
9
# it under the terms of the GNU General Public License as published by
106
106
# Test script is run here.
107
107
"$@" >$log_file 2>&1
108
108
estatus=$?
 
109
 
109
110
if test $enable_hard_errors = no && test $estatus -eq 99; then
110
 
  estatus=1
 
111
  tweaked_estatus=1
 
112
else
 
113
  tweaked_estatus=$estatus
111
114
fi
112
115
 
113
 
case $estatus:$expect_failure in
 
116
case $tweaked_estatus:$expect_failure in
114
117
  0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
115
118
  0:*)   col=$grn res=PASS  recheck=no  gcopy=no;;
116
119
  77:*)  col=$blu res=SKIP  recheck=no  gcopy=yes;;
119
122
  *:*)   col=$red res=FAIL  recheck=yes gcopy=yes;;
120
123
esac
121
124
 
 
125
# Report the test outcome and exit status in the logs, so that one can
 
126
# know whether the test passed or failed simply by looking at the '.log'
 
127
# file, without the need of also peaking into the corresponding '.trs'
 
128
# file (automake bug#11814).
 
129
echo "$res $test_name (exit status: $estatus)" >>$log_file
 
130
 
122
131
# Report outcome to console.
123
132
echo "${col}${res}${std}: $test_name"
124
133