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
|
2019-09-12 08:10:16 +00:00
|
|
|
elif [ "$TEST_SCENARIO" == "tar" ]; then
|
|
|
|
test/check-cli TestTar
|
2019-11-04 19:28:54 +00:00
|
|
|
elif [ "$TEST_SCENARIO" == "lorax" ]; then
|
|
|
|
test/check-lorax TestLorax
|
2019-05-29 08:30:10 +00:00
|
|
|
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-08-23 15:20:06 +00:00
|
|
|
test/check-cli TestRepos
|
2019-04-12 18:17:28 +00:00
|
|
|
fi
|