lorax/test/run

16 lines
366 B
Plaintext
Raw Normal View History

#!/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
export BACKEND="${BACKEND:-lorax-composer}"
make vm
if [ -n "$TEST_SCENARIO" ]; then
if [ "$TEST_SCENARIO" == "lorax" ]; then
test/check-lorax TestLorax
fi
else
test/check-cli TestImages
fi