mirror of https://github.com/m-labs/artiq.git
gateware: don't run tests if there is no migen.
This allows us to skip testing gateware on Windows.
This commit is contained in:
parent
87c2f119a5
commit
4804cfef9b
|
@ -0,0 +1,7 @@
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
try:
|
||||||
|
import migen
|
||||||
|
except ImportError:
|
||||||
|
def load_tests(*args, **kwargs):
|
||||||
|
raise unittest.SkipTest("migen unavailable")
|
Loading…
Reference in New Issue