Mercurial > p > roundup > code
annotate run_tests @ 718:e10c37f53efd
fixed SCRIPT_NAME in ZRoundup for instances not at top level of Zope
(thanks dman)
fixed some sorting issues that were breaking some unit tests under py2.2
mailgw test output dir was confusing the init test (but only on 2.2 *shrug*)
fixed bug in the init unit test that meant only the bsddb test ran if it
could (it clobbered the anydbm test)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 15 May 2002 03:27:16 +0000 |
| parents | d77b82588bf0 |
| children | 51c425129b35 |
| rev | line source |
|---|---|
|
578
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 #! /usr/bin/env python |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 # Copyright (c) 2001 Richard Jones |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 # This module is free software, and you may redistribute it and/or modify |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
5 # under the same terms as Python, so long as this copyright message and |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 # disclaimer are retained in their original form. |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
8 # This module is distributed in the hope that it will be useful, |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 # |
|
613
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
12 # $Id: run_tests,v 1.4 2002-02-14 23:38:12 richard Exp $ |
|
578
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
13 |
|
613
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
14 from test import go |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
15 import sys |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
16 if len(sys.argv) > 1: |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
17 go(sys.argv[1:]) |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
18 else: |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
19 go() |
|
578
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 # $Log: not supported by cvs2svn $ |
|
613
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
23 # Revision 1.3 2002/01/23 20:09:41 jhermann |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
24 # Proper fix for failing test |
|
d77b82588bf0
Fixed the unit tests for the mailgw re: the x-roundup-name header.
Richard Jones <richard@users.sourceforge.net>
parents:
586
diff
changeset
|
25 # |
|
586
50fcb1357967
Proper fix for failing test
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
584
diff
changeset
|
26 # Revision 1.2 2002/01/23 11:08:52 grubert |
|
50fcb1357967
Proper fix for failing test
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
584
diff
changeset
|
27 # . run_tests testReldate_date failed if LANG is 'german' |
|
50fcb1357967
Proper fix for failing test
Jürgen Hermann <jhermann@users.sourceforge.net>
parents:
584
diff
changeset
|
28 # |
|
584
deb852c24642
run_tests testReldate_date failed if LANG is 'german'
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
578
diff
changeset
|
29 # Revision 1.1 2002/01/23 05:53:46 richard |
|
deb852c24642
run_tests testReldate_date failed if LANG is 'german'
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
578
diff
changeset
|
30 # convenience script for running the unit tests... |
|
deb852c24642
run_tests testReldate_date failed if LANG is 'german'
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
578
diff
changeset
|
31 # ... they are no longer run in the setup, since they take too long |
|
deb852c24642
run_tests testReldate_date failed if LANG is 'german'
Engelbert Gruber <grubert@users.sourceforge.net>
parents:
578
diff
changeset
|
32 # |
|
578
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
33 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
34 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
35 # |
|
ee8093d5eae5
convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
36 # vim: set filetype=python ts=4 sw=4 et si |
