mirror of
https://github.com/YosysHQ/yosys
synced 2026-04-26 22:03:36 +00:00
Convert autotest script wrapper
This commit is contained in:
parent
896fac04ed
commit
488f144245
10 changed files with 101 additions and 110 deletions
17
tests/simple/generate_mk.py
Normal file
17
tests/simple/generate_mk.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
sys.path.append("..")
|
||||
|
||||
import shutil
|
||||
|
||||
# ----------------------
|
||||
# Check if iverilog is installed
|
||||
# ----------------------
|
||||
if shutil.which("iverilog") is None:
|
||||
print("Error: Icarus Verilog 'iverilog' not found.", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
import gen_tests_makefile
|
||||
|
||||
gen_tests_makefile.generate_autotest("*.*v", "")
|
||||
Loading…
Add table
Add a link
Reference in a new issue