Code

b9976d983668e546558ac49d8087b3ed2de93ff0
[roundup.git] / run_tests
1 #! /usr/bin/env python
2 #
3 # Copyright (c) 2001 Richard Jones
4 # This module is free software, and you may redistribute it and/or modify
5 # under the same terms as Python, so long as this copyright message and
6 # disclaimer are retained in their original form.
7 #
8 # This module is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 #
12 # $Id: run_tests,v 1.6 2002-05-25 07:24:29 rochecompaan Exp $
14 from test import go
15 import sys
16 if len(sys.argv) > 1:
17     go(sys.argv[1:])
18 else:
19     go()
21 #
22 # $Log: not supported by cvs2svn $
23 # Revision 1.4  2002/02/14 23:38:12  richard
24 # Fixed the unit tests for the mailgw re: the x-roundup-name header.
25 # Also made the test runner more user-friendly:
26 #   ./run_tests            - detect all tests in test/test_<name>.py and run them
27 #   ./run_tests <name>     - run only test/test_<name>.py
28 # eg ./run_tests mailgw    - run the mailgw test from test/test_mailgw.py
29 #
30 # Revision 1.3  2002/01/23 20:09:41  jhermann
31 # Proper fix for failing test
32 #
33 # Revision 1.2  2002/01/23 11:08:52  grubert
34 #  . run_tests testReldate_date failed if LANG is 'german'
35 #
36 # Revision 1.1  2002/01/23 05:53:46  richard
37 # convenience script for running the unit tests...
38 # ... they are no longer run in the setup, since they take too long
39 #
40 #
41 #
42 #
43 # vim: set filetype=python ts=4 sw=4 et si