Code conventions: Use “.” to source script files When you have to source a script file, for example, a credentials file to gain access to user-only or admin-only CLI commands, use . instead of source. See more: http://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: Ia823df50f65b26695458a509a0e0d94a4646afb3
17 lines
327 B
Bash
Executable File
17 lines
327 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ./run_tests_common.sh
|
|
|
|
MURANO_ROOT=/opt/stack/new/murano/murano
|
|
# Using .venv for tempest installation
|
|
pushd $TEMPEST_DIR
|
|
python "$MURANO_ROOT/tools/install_venv.py"
|
|
. "$MURANO_ROOT/.venv/bin/activate"
|
|
pip install nose
|
|
nosetests -sv "$MURANO_ROOT/tests/functional/api/v1"
|
|
RETVAL=$?
|
|
deactivate
|
|
popd
|
|
exit $RETVAL
|
|
|