2019-04-12 18:17:28 +00:00
|
|
|
#!/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
|
2019-05-29 08:30:10 +00:00
|
|
|
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
|
2019-04-12 18:17:28 +00:00
|
|
|
else
|
2019-05-29 08:30:10 +00:00
|
|
|
test/check-cli TestImages
|
2019-05-30 00:14:26 +00:00
|
|
|
test/check-api
|
2019-04-12 18:17:28 +00:00
|
|
|
fi
|