3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-27 06:45:49 +00:00

Converted rpc

This commit is contained in:
Miodrag Milanovic 2026-03-23 09:22:47 +01:00
parent 98c2cf1dc6
commit acfd11446d
3 changed files with 11 additions and 10 deletions

View file

@ -69,7 +69,7 @@ MK_TEST_DIRS += ./peepopt
MK_TEST_DIRS += ./proc
MK_TEST_DIRS += ./blif
#SH_TEST_DIRS += ./arch
#SH_TEST_DIRS += ./rpc
MK_TEST_DIRS += ./rpc
MK_TEST_DIRS += ./memfile
#SH_TEST_DIRS += ./fmt
#SH_TEST_DIRS += ./cxxrtl

View file

@ -4,5 +4,14 @@ import sys
sys.path.append("..")
import gen_tests_makefile
import glob
gen_tests_makefile.generate(["--yosys-scripts"])
def create_tests():
yss = sorted(glob.glob("*.ys"))
for ys in yss:
gen_tests_makefile.generate_ys_test(ys)
cmd = [ "python3 frontend.py unix-socket frontend.sock >/dev/null 2>&1" ]
gen_tests_makefile.generate_cmd_test("frontend.py", cmd)
gen_tests_makefile.generate_custom(create_tests)

View file

@ -1,8 +0,0 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."
../../yosys -ql ${x%.ys}.log $x
done
python3 frontend.py unix-socket frontend.sock