yosys/tests/rpc/generate_mk.py

18 lines
394 B
Python
Raw Normal View History

2026-03-20 12:47:15 +01:00
#!/usr/bin/env python3
import sys
sys.path.append("..")
import gen_tests_makefile
2026-03-23 09:22:47 +01:00
import glob
2026-03-20 12:47:15 +01:00
2026-03-23 09:22:47 +01:00
def create_tests():
yss = sorted(glob.glob("*.ys"))
for ys in yss:
gen_tests_makefile.generate_ys_test(ys)
2026-03-25 11:46:08 +01:00
cmd = [ "python3 frontend.py unix-socket frontend.sock" ]
2026-03-23 09:22:47 +01:00
gen_tests_makefile.generate_cmd_test("frontend.py", cmd)
gen_tests_makefile.generate_custom(create_tests)