Fix check_manifest test
This bug was hidden by a bug in check_manifest() itself: since we're
only setting up two steps here, we should set the steplist accordingly.
@@ -12,7 +12,8 @@ def test_check_manifest():
chip.set('source', 'examples/gcd/gcd.v')
index = "0"
- for step in ('import', 'syn'):
+ steps = ['import', 'syn']
+ for step in steps:
tool = chip.get('flowgraph', step, index, 'tool')
chip.set('arg', 'step', step)
chip.set('arg', 'index', index)
@@ -22,6 +23,8 @@ def test_check_manifest():
assert setup_tool is not None
setup_tool(chip)
+ chip.set('steplist', steps)
+
chip.set('arg', 'step', None)
chip.set('arg', 'index', None)
assert chip.check_manifest() == 0
