0e122e8e35
Now 'tox -efunc' can be invoked to run all functional tests in the 'venv' tox environment. Also `tox -efunc element-name` can be used to run function tests for one element (e.g. ironic-agent). Change-Id: Ia685d1b2a7deef2f8b98876ac09792134dd30f2f
13 lines
191 B
Bash
Executable file
13 lines
191 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
element=${1:-}
|
|
|
|
if [ -z $element ]; then
|
|
$(dirname $0)/image_output_formats.bash
|
|
fi
|
|
$(dirname $0)/test_elements.bash $element
|
|
|
|
echo "Tests passed!"
|