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

Subversion Repositories dmt_tx

[/] [dmt_tx/] [trunk/] [myhdl/] [adsl_main.py] - Rev 30

Compare with Previous | Blame | View Log

#!/usr/bin/env python
 
########################################################################
#
# Main program that runs all the test
#
#
#
#
########################################################################
 
import unittest
 
 
import test.test_flipSign, \
        test.test_cmath,    \
        test.test_const_encoder,    \
        test.test_fifo_sync, \
        test.test_bit_order
 
mL = [test.test_flipSign]
mL.append(test.test_cmath)
mL.append(test.test_const_encoder)
mL.append(test.test_fifo_sync)
mL.append(test.test_bit_order)
 
tl = unittest.defaultTestLoader
def suite():
    alltests = unittest.TestSuite()
    for m in mL:
        alltests.addTest(tl.loadTestsFromModule(m))
    return alltests
 
def main():
    unittest.main(defaultTest='suite',
                  testRunner=unittest.TextTestRunner(verbosity=2))
 
 
 
 
 
########################################################################
# main
#
if __name__ == '__main__':
    main()
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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