I just revisited virtualenv and installed myhdl1.0-dev, added this as interpreter in Eclipse, and ran the core test-suite, here are the results:
============================= test session starts =============================
platform win32 -- Python 2.7.9, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: C:\Users\Josy\virtualenvs\london_app_dev\myhdl-master, inifile:
collected 309 items
core\test_Cosimulation.py FFFFFFFFFFF
core\test_ShadowSignal.py .....
core\test_Signal.py ............................................................
core\test_Simulation.py ........................................................................
core\test_always.py ...........
core\test_always_comb.py .........................
core\test_always_seq.py ..
core\test_bin.py ......
core\test_concat.py .....................
core\test_enum.py .......
core\test_inferWaiter.py ..........
core\test_instance.py ...
core\test_intbv.py ..........................................................
core\test_misc.py .
core\test_modbv.py .......
core\test_signed.py ....
core\test_traceSignals.py ......
================================== FAILURES ===================================
________________________ TestCosimulation.testWrongExe ________________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x0387AD78>
def testWrongExe(self):
with raises_kind(CosimulationError, _error.OSError):
> Cosimulation('bla -x 45')
E AttributeError: 'exceptions.ImportError' object has no attribute 'kind'
core\test_Cosimulation.py:66: AttributeError
_______________________ TestCosimulation.testNotUnique ________________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x03960DF0>
def testNotUnique(self):
> cosim1 = Cosimulation(exe + "cosimNotUnique", **allSigs)
core\test_Cosimulation.py:69:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <myhdl._Cosimulation.Cosimulation object at 0x03786A10>
exe = 'python C:\\Users\\Josy\\virtualenvs\\london_app_dev\\myhdl-master\\myhdl\\test\\core\\test_Cosimulation.py cosimNotUnique'
kwargs = {'a': Signal(2), 'bb': Signal(67), 'ccc': Signal(36), 'd': Signal(0), ...}
def __init__(self, exe="", **kwargs):
""" Construct a cosimulation object. """
if _simulator._cosim:
> raise CosimulationError(_error.MultipleCosim)
E CosimulationError: Only a single cosimulator allowed
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:54: CosimulationError
______________________ TestCosimulation.testFromSignals _______________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038BF6C0>
def testFromSignals(self):
> cosim = Cosimulation(exe + "cosimFromSignals", **allSigs)
core\test_Cosimulation.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:61: in __init__
set_inheritable(rt, False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fd = 13, inheritable = False
def set_inheritable(fd, inheritable):
# This implementation of set_inheritable is based on a code sample in
# [PEP 0446](https://www.python.org/dev/peps/pep-0446/) and on the
# CPython implementation of that proposal which can be browsed [here]
# (hg.python.org/releasing/3.4/file/8671f89107c8/Modules/posixmodule.c#l11130)
if sys.platform == "win32":
import msvcrt
> import ctypes.windll.kernel32 as kernel32
E ImportError: No module named windll.kernel32
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_compat.py:46: ImportError
_______________________ TestCosimulation.testToSignals ________________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038106C0>
def testToSignals(self):
> cosim = Cosimulation(exe + "cosimToSignals", **toSigs)
core\test_Cosimulation.py:104:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:61: in __init__
set_inheritable(rt, False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fd = 17, inheritable = False
def set_inheritable(fd, inheritable):
# This implementation of set_inheritable is based on a code sample in
# [PEP 0446](https://www.python.org/dev/peps/pep-0446/) and on the
# CPython implementation of that proposal which can be browsed [here]
# (hg.python.org/releasing/3.4/file/8671f89107c8/Modules/posixmodule.c#l11130)
if sys.platform == "win32":
import msvcrt
> import ctypes.windll.kernel32 as kernel32
E ImportError: No module named windll.kernel32
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_compat.py:46: ImportError
_____________________ TestCosimulation.testFromToSignals ______________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038D5670>
def testFromToSignals(self):
> cosim = Cosimulation(exe + "cosimFromToSignals", **allSigs)
core\test_Cosimulation.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:61: in __init__
set_inheritable(rt, False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fd = 21, inheritable = False
def set_inheritable(fd, inheritable):
# This implementation of set_inheritable is based on a code sample in
# [PEP 0446](https://www.python.org/dev/peps/pep-0446/) and on the
# CPython implementation of that proposal which can be browsed [here]
# (hg.python.org/releasing/3.4/file/8671f89107c8/Modules/posixmodule.c#l11130)
if sys.platform == "win32":
import msvcrt
> import ctypes.windll.kernel32 as kernel32
E ImportError: No module named windll.kernel32
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_compat.py:46: ImportError
________________________ TestCosimulation.testTimeZero ________________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x02CC7788>
def testTimeZero(self):
with raises_kind(CosimulationError, _error.TimeZero):
> Cosimulation(exe + "cosimTimeZero", **allSigs)
E AttributeError: 'exceptions.ImportError' object has no attribute 'kind'
core\test_Cosimulation.py:150: AttributeError
_________________________ TestCosimulation.testNoComm _________________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x0387A4B8>
def testNoComm(self):
with raises_kind(CosimulationError, _error.NoCommunication):
> Cosimulation(exe + "cosimNoComm", **allSigs)
E AttributeError: 'exceptions.ImportError' object has no attribute 'kind'
core\test_Cosimulation.py:163: AttributeError
____________________ TestCosimulation.testFromSignalsDupl _____________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x037F68C8>
def testFromSignalsDupl(self):
with raises_kind(CosimulationError, _error.DuplicateSigNames):
> Cosimulation(exe + "cosimFromSignalsDupl", **allSigs)
E AttributeError: 'exceptions.ImportError' object has no attribute 'kind'
core\test_Cosimulation.py:178: AttributeError
_____________________ TestCosimulation.testToSignalsDupl ______________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038D51E8>
def testToSignalsDupl(self):
with raises_kind(CosimulationError, _error.DuplicateSigNames):
> Cosimulation(exe + "cosimToSignalsDupl", **allSigs)
E AttributeError: 'exceptions.ImportError' object has no attribute 'kind'
core\test_Cosimulation.py:192: AttributeError
_____________________ TestCosimulation.testFromSignalVals _____________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038D5D50>
def testFromSignalVals(self):
> cosim = Cosimulation(exe + "cosimFromSignalVals", **allSigs)
core\test_Cosimulation.py:205:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:61: in __init__
set_inheritable(rt, False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fd = 41, inheritable = False
def set_inheritable(fd, inheritable):
# This implementation of set_inheritable is based on a code sample in
# [PEP 0446](https://www.python.org/dev/peps/pep-0446/) and on the
# CPython implementation of that proposal which can be browsed [here]
# (hg.python.org/releasing/3.4/file/8671f89107c8/Modules/posixmodule.c#l11130)
if sys.platform == "win32":
import msvcrt
> import ctypes.windll.kernel32 as kernel32
E ImportError: No module named windll.kernel32
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_compat.py:46: ImportError
______________________ TestCosimulation.testToSignalVals ______________________
self = <core.test_Cosimulation.TestCosimulation instance at 0x038BFE68>
def testToSignalVals(self):
> cosim = Cosimulation(exe + "cosimToSignalVals", **allSigs)
core\test_Cosimulation.py:229:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_Cosimulation.py:61: in __init__
set_inheritable(rt, False)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fd = 45, inheritable = False
def set_inheritable(fd, inheritable):
# This implementation of set_inheritable is based on a code sample in
# [PEP 0446](https://www.python.org/dev/peps/pep-0446/) and on the
# CPython implementation of that proposal which can be browsed [here]
# (hg.python.org/releasing/3.4/file/8671f89107c8/Modules/posixmodule.c#l11130)
if sys.platform == "win32":
import msvcrt
> import ctypes.windll.kernel32 as kernel32
E ImportError: No module named windll.kernel32
..\..\..\lib\site-packages\myhdl-1.0.dev0-py2.7.egg\myhdl\_compat.py:46: ImportError
=================== 11 failed, 298 passed in 27.47 seconds ====================