lorax/test/run
Alexander Todorov dcb4c1a0e5 Backport Cockpit CI changes for RHEL 8
Notes:

- also install podman-docker
- on RHEL 8 there's no docker.service to start

Related: rhbz#1724073
2019-09-11 14:16:27 +03:00

18 lines
456 B
Bash
Executable File

#!/bin/sh -e
# This is the expected entry point for Cockpit CI; will be called without
# arguments but with an appropriate $TEST_OS, and optionally $TEST_SCENARIO
make vm
if [ -n "$TEST_SCENARIO" ]; then
if [ "$TEST_SCENARIO" == "live-iso" ]; then
test/check-cli TestLiveIso
elif [ "$TEST_SCENARIO" == "qcow2" ]; then
test/check-cli TestQcow2
else
test/check-cloud TestCloud.test_$TEST_SCENARIO
fi
else
test/check-cli TestImages
fi