annotate run_tests @ 1607:de4fa8bed9d3 maint-0.5

added socket timeout to attempt to prevent stuck processes [SF#665487]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 24 Apr 2003 04:28:33 +0000
parents e5826025eeb7
children 4074e2336eed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
750
Roche Compaan <rochecompaan@users.sourceforge.net>
parents: 749
diff changeset
1 #! /usr/bin/env python
578
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 #
1092
e5826025eeb7 more Log removal
Richard Jones <richard@users.sourceforge.net>
parents: 753
diff changeset
12 # $Id: run_tests,v 1.8 2002-09-10 01:07:04 richard Exp $
753
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
13
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
14 # make sure we have the htmlbase
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
15 try:
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
16 from roundup.templates.classic import htmlbase
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
17 except ImportError:
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
18 import setup
938edfdeac6e Sorry about this huge checkin!
Richard Jones <richard@users.sourceforge.net>
parents: 750
diff changeset
19 setup.buildTemplates()
578
ee8093d5eae5 convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
20
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
21 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
22 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
23 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
24 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
25 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
26 go()
578
ee8093d5eae5 convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
27
ee8093d5eae5 convenience script for running the unit tests...
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
28 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/