Skip to content

Commit 09e1b13

Browse files
committed
Update unit tester for verilog input
1 parent d7ffb7f commit 09e1b13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_importexport.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,11 @@ def test_existing_reset_wire_without_add_reset(self):
16481648

16491649
class TestVerilogInput(unittest.TestCase):
16501650
def setUp(self):
1651+
import subprocess
1652+
try:
1653+
version = subprocess.check_output(['yosys', '--version'])
1654+
except OSError:
1655+
raise unittest.SkipTest('Testing Verilog input requires yosys')
16511656
pyrtl.reset_working_block()
16521657

16531658
def test_import_counter(self):

0 commit comments

Comments
 (0)