~aw/ubuntu/lucid/davical/trunk

« back to all changes in this revision

Viewing changes to testing/run_regressions.sh

  • Committer: Bazaar Package Importer
  • Author(s): Andrew McMillan
  • Date: 2008-11-18 18:33:17 UTC
  • Revision ID: james.westby@ubuntu.com-20081118183317-8cbi6iy140mcnr4e
Tags: 0.9.6.2
* Fix creation of database when template1 has pl/pgsql installed.
* Improvements to regression testing.
* Switch to use iCalComponent object rather than iCalendar, in many cases.
* Calculate DTEND when it is not set according to RFC2445.
* Much improved XML namespace handling.
* Configuration setting to control whether I should see appointments where I
  am organizer/attendee, even if they are PRIVATE and not in my own calendar.
* Updated French translation (closes: #505861)
* Add facility to delete collections through the management interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
. ./regression.conf
10
10
 
11
11
[ -z "${DSN}" ] && DSN="${DBNAME}"
 
12
[ -n "${HOSTNAME}" ] && WEBHOST="--webhost ${HOSTNAME}"
 
13
[ -n "${ALTHOST}"  ] && ALTHOST="--althost ${ALTHOST}"
12
14
 
13
15
 
14
16
UNTIL=${1:-"99999"}
38
40
    if [ "${ACCEPT}" = "y" ] ; then
39
41
      cp "${RESULTS}/${TEST}" "${REGRESSION}/${TEST}.result"
40
42
    elif [ "${ACCEPT}" = "x" ]; then
41
 
      echo "./dav_test --dsn '${DSN}' --suite regression-suite --case '${TEST}' --debug"
 
43
      echo "./dav_test --dsn '${DSN}' ${WEBHOST} ${ALTHOST} --suite regression-suite --case '${TEST}' --debug"
42
44
      exit
43
45
    elif [ "${ACCEPT}" = "v" ]; then
44
46
      echo "Showing test $REGRESSION/${TEST}.test"
107
109
 
108
110
  RESULT=999
109
111
  while [ "${RESULT}" -gt 0 ]; do
110
 
    ./dav_test --dsn "${DSN}" --suite regression-suite --case "${TEST}" | ./normalise_result > "${RESULTS}/${TEST}"
 
112
    ./dav_test --dsn "${DSN}" ${WEBHOST} ${ALTHOST} --suite regression-suite --case "${TEST}" | ./normalise_result > "${RESULTS}/${TEST}"
111
113
 
112
114
    RESULT=999
113
115
    while [ "${RESULT}" -gt 1 ]; do