OpenCores
URL https://opencores.org/ocsvn/dmt_tx/dmt_tx/trunk

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [myhdl/] [adsl_main.py] - Blame information for rev 27

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 dannori
#!/usr/bin/env python
2
 
3
########################################################################
4
#
5
# Main program that runs all the test
6
#
7
#
8
#
9
#
10
########################################################################
11
 
12
import unittest
13
 
14
 
15
import test.test_flipSign, test.test_cmath
16
 
17
mL = [test.test_flipSign]
18
mL.append(test.test_cmath)
19
 
20
tl = unittest.defaultTestLoader
21
def suite():
22
    alltests = unittest.TestSuite()
23
    for m in mL:
24
        alltests.addTest(tl.loadTestsFromModule(m))
25
    return alltests
26
 
27
def main():
28
    unittest.main(defaultTest='suite',
29
                  testRunner=unittest.TextTestRunner(verbosity=2))
30
 
31
 
32
 
33
 
34
 
35
########################################################################
36
# main
37
#
38
if __name__ == '__main__':
39
    main()

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.