test/examples: do not attempt to run deleted examples
This commit is contained in:
parent
7bd72a16df
commit
fa6d96bb9a
|
@ -21,10 +21,8 @@ def _make_test_method(name, foldername):
|
||||||
class TestExamplesSim(unittest.TestCase):
|
class TestExamplesSim(unittest.TestCase):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
for name in ("abstract_transactions_wb",
|
for name in ("basic1",
|
||||||
"basic1",
|
|
||||||
"basic2",
|
"basic2",
|
||||||
"dataflow",
|
|
||||||
# skip "fir" as it depends on SciPy
|
# skip "fir" as it depends on SciPy
|
||||||
# "fir",
|
# "fir",
|
||||||
"memory"):
|
"memory"):
|
||||||
|
@ -36,30 +34,16 @@ class TestExamplesBasic(unittest.TestCase):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
for name in ("arrays",
|
for name in ("arrays",
|
||||||
"complex",
|
|
||||||
"fsm",
|
"fsm",
|
||||||
"graycounter",
|
"graycounter",
|
||||||
"hamming",
|
|
||||||
"local_cd",
|
"local_cd",
|
||||||
"memory",
|
"memory",
|
||||||
"namer",
|
"namer",
|
||||||
"psync",
|
"psync",
|
||||||
"record",
|
"record",
|
||||||
"reslice",
|
"reslice",
|
||||||
"simple_gpio",
|
|
||||||
"tristate",
|
"tristate",
|
||||||
"two_dividers"):
|
"two_dividers"):
|
||||||
setattr(TestExamplesBasic, "test_" + name,
|
setattr(TestExamplesBasic, "test_" + name,
|
||||||
_make_test_method(name, "basic"))
|
_make_test_method(name, "basic"))
|
||||||
|
|
||||||
|
|
||||||
class TestDataflow(unittest.TestCase):
|
|
||||||
pass
|
|
||||||
|
|
||||||
for name in ("dma",
|
|
||||||
"misc",
|
|
||||||
# skip "structuring" as it depends on networkx, SciPy
|
|
||||||
# "structuring",
|
|
||||||
):
|
|
||||||
setattr(TestDataflow, "test_" + name,
|
|
||||||
_make_test_method(name, "dataflow"))
|
|
||||||
|
|
Loading…
Reference in New Issue