Code

Updated message strings to match the RFC822 address quoting performed
[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.7 2002-05-29 01:16:16 richard Exp $
14 # make sure we have the htmlbase
15 try:
16     from roundup.templates.classic import htmlbase
17 except ImportError:
18     import setup
19     setup.buildTemplates()
21 from test import go
22 import sys
23 if len(sys.argv) > 1:
24     go(sys.argv[1:])
25 else:
26     go()
28 #
29 # $Log: not supported by cvs2svn $
30 # Revision 1.6  2002/05/25 07:24:29  rochecompaan
31 # oops
32 #
33 # Revision 1.4  2002/02/14 23:38:12  richard
34 # Fixed the unit tests for the mailgw re: the x-roundup-name header.
35 # Also made the test runner more user-friendly:
36 #   ./run_tests            - detect all tests in test/test_<name>.py and run them
37 #   ./run_tests <name>     - run only test/test_<name>.py
38 # eg ./run_tests mailgw    - run the mailgw test from test/test_mailgw.py
39 #
40 # Revision 1.3  2002/01/23 20:09:41  jhermann
41 # Proper fix for failing test
42 #
43 # Revision 1.2  2002/01/23 11:08:52  grubert
44 #  . run_tests testReldate_date failed if LANG is 'german'
45 #
46 # Revision 1.1  2002/01/23 05:53:46  richard
47 # convenience script for running the unit tests...
48 # ... they are no longer run in the setup, since they take too long
49 #
50 #
51 #
52 #
53 # vim: set filetype=python ts=4 sw=4 et si