1 |
# $Id:$ |
2 |
|
3 |
# |
4 |
# COPYRIGHT ACcESS 2004 - All Rights Reserved |
5 |
# |
6 |
# This software is the property of ACcESS. No part of this code |
7 |
# may be copied in any form or by any means without the expressed written |
8 |
# consent of ACcESS. Copying, use or modification of this software |
9 |
# by any unauthorised person is illegal unless that |
10 |
# person has a software license agreement with ACcESS. |
11 |
# |
12 |
|
13 |
""" |
14 |
runs the test_symbol test for the symbols.py module |
15 |
|
16 |
@remark: |
17 |
@var __author__: name of author |
18 |
@var __licence__: licence agreement |
19 |
@var __url__: url entry point on documentation |
20 |
@var __version__: version |
21 |
@var __date__: date of the version |
22 |
""" |
23 |
|
24 |
__author__="Lutz Gross, l.gross@uq.edu.au" |
25 |
__licence__="contact: esys@access.uq.edu.au" |
26 |
__url__="http://www.iservo.edu.au/esys/escript" |
27 |
__version__="$Revision$" |
28 |
__date__="$Date$" |
29 |
|
30 |
from test_symbols import Test_symbols |
31 |
import unittest |
32 |
suite = unittest.TestSuite() |
33 |
suite.addTest(unittest.makeSuite(Test_symbols)) |
34 |
s=unittest.TextTestRunner(verbosity=2).run(suite) |
35 |
if s.wasSuccessful(): |
36 |
sys.exit(0) |
37 |
else: |
38 |
sys.exit(1) |
39 |
|