]> git.puffer.fish Git - matthieu/frr.git/commit
tests: fix xterm windows for topotests, better errors
authorChristian Hopps <chopps@labn.net>
Tue, 7 Sep 2021 19:44:58 +0000 (15:44 -0400)
committerChristian Hopps <chopps@labn.net>
Tue, 7 Sep 2021 19:50:59 +0000 (15:50 -0400)
commit1726edc301be0cc0f3c90ce36be688c7714046dd
tree806a043ee7c91d4911490056dffaf36f978b0b80
parent48a202b20a8491fe6a26ce227e1e4866a48c4063
tests: fix xterm windows for topotests, better errors

- Fix xterm support to work, previously it mostly didn't, not it should
in all cases (i.e., single or dist mode).

- Catch when the user tries to use various window requiring topotests
features (e.g., --cli-on-error) but isn't running under supported
system (e.g., byobu/tmux/xterm), and fail the run with an explanation.

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/conftest.py
tests/topotests/lib/micronet.py
tests/topotests/lib/topotest.py