aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-03-06 16:06:54 +0100
committerGitHub <noreply@github.com>2020-03-06 16:06:54 +0100
commitbfeba9ad11847e6a0cbe47f880f3642d5e3a8061 (patch)
tree112f7e061075d7da66ee5b5e84ab924f306e7382 /tests
parent8b074cc473676288eb9cb04b09fb37ba6d11461a (diff)
parent88494e81f51630b08b045cd006ec3b38b27ff99f (diff)
downloadyosys-bfeba9ad11847e6a0cbe47f880f3642d5e3a8061.tar.gz
yosys-bfeba9ad11847e6a0cbe47f880f3642d5e3a8061.tar.bz2
yosys-bfeba9ad11847e6a0cbe47f880f3642d5e3a8061.zip
Merge pull request #1742 from nakengelhardt/rpc-test-again
More rpc test fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/rpc/frontend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rpc/frontend.py b/tests/rpc/frontend.py
index eace07bf9..8cbec5682 100644
--- a/tests/rpc/frontend.py
+++ b/tests/rpc/frontend.py
@@ -83,10 +83,11 @@ def main():
if args.mode == "unix-socket":
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
+ sock.settimeout(30)
sock.bind(args.path)
try:
- ys_proc = subprocess.Popen(["../../yosys", "-ql", "unix.log", "-p", "connect_rpc -path {}; read_verilog design.v; hierarchy -top top; flatten; select -assert-count 1 t:$neg".format(args.path)])
sock.listen(1)
+ ys_proc = subprocess.Popen(["../../yosys", "-ql", "unix.log", "-p", "connect_rpc -path {}; read_verilog design.v; hierarchy -top top; flatten; select -assert-count 1 t:$neg".format(args.path)])
conn, addr = sock.accept()
file = conn.makefile("rw")
while True: