mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
tests
This commit is contained in:
parent
4ee436f37c
commit
b08bb8caa3
@ -132,7 +132,7 @@ class Cosimulation(object):
|
||||
toSizes.append(int(e[i+1]))
|
||||
os.write(wf, "OK")
|
||||
elif e[0] == "START":
|
||||
if not toSignames:
|
||||
if not toSignames and not fromSignames:
|
||||
raise NoCommunicationError
|
||||
os.write(wf, "OK")
|
||||
break
|
||||
|
@ -266,7 +266,9 @@ class CosimulationTest(TestCase):
|
||||
buf += " "
|
||||
os.write(wt, buf)
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.makeSuite(CosimulationTest, 'test')
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
@ -23,7 +23,7 @@ __author__ = "Jan Decaluwe <jan@jandecaluwe.com>"
|
||||
__version__ = "$Revision$"
|
||||
__date__ = "$Date$"
|
||||
|
||||
import test_Simulation, test_Signal, test_intbv
|
||||
import test_Simulation, test_Signal, test_intbv, test_Cosimulation
|
||||
|
||||
modules = (test_Simulation, test_Signal, test_intbv)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user