tests: run 'device-crash-test' from tests/venv
commit1d8cf47e5b8b4faa95954824cb6610d81c50d7d2
authorJohn Snow <jsnow@redhat.com>
Thu, 26 May 2022 00:09:21 +0000 (25 20:09 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2022 07:26:54 +0000 (6 09:26 +0200)
treebd84458af018dc481f700f52020a25d418deb62c
parente184036a0e12cbfb8980362cd4de18268b4d0c38
tests: run 'device-crash-test' from tests/venv

Remove the sys.path hacking from device-crash-test, and add in a little
user-friendly message for anyone who was used to running this script
directly from the source tree.

Modify the GitLab job recipes to create the tests/venv first, then run
device-crash-test from that venv.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220526000921.1581503-10-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest.yml
scripts/device-crash-test