lorax/test/run

16 lines
360 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" == "ci" ]; then
test/check-cli TestPylint
fi
else
test/check-cli TestImages
fi