build: add support for /pybridge scenario

Build the Python bridge from the cockpit project and install it into the
VM so we can run tests against it.
This commit is contained in:
Allison Karlitskaya 2023-01-30 17:00:33 +01:00 committed by Jelle van der Waa
parent 030d64ba48
commit 03d02f398a
2 changed files with 21 additions and 2 deletions

View file

@ -4,6 +4,7 @@ set -eu
# This is the expected entry point for Cockpit CI; will be called without
# arguments but with an appropriate $TEST_OS, and optionally $TEST_SCENARIO
[ -z "${TEST_SCENARIO:-}" ] || export TEST_BROWSER="$TEST_SCENARIO"
TEST_SCENARIO="${TEST_SCENARIO:-}"
[ "${TEST_SCENARIO}" = "${TEST_SCENARIO##firefox}" ] || export TEST_BROWSER=firefox
export RUN_TESTS_OPTIONS=--track-naughties
make check