2019-06-25 09:50:37 +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
|
|
|
|
if [ "$TEST_SCENARIO" == "live-iso" ]; then
|
|
|
|
test/check-cli TestLiveIso
|
|
|
|
elif [ "$TEST_SCENARIO" == "qcow2" ]; then
|
|
|
|
test/check-cli TestQcow2
|
2019-06-26 13:57:25 +00:00
|
|
|
elif [ "$TEST_SCENARIO" == "tar" ]; then
|
|
|
|
test/check-cli TestTar
|
2019-06-25 09:50:37 +00:00
|
|
|
else
|
|
|
|
test/check-cloud TestCloud.test_$TEST_SCENARIO
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
test/check-cli TestImages
|
2019-08-23 15:20:06 +00:00
|
|
|
test/check-cli TestRepos
|
2019-06-25 09:50:37 +00:00
|
|
|
fi
|