]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
start_tox: list scenario in the corresponding tox ini file 1268/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Mar 2019 08:24:35 +0000 (09:24 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Mar 2019 08:24:35 +0000 (09:24 +0100)
since a split of the tox ini file has been introduced in ceph-ansible,
we must compare the scenario by listing them in the right tox ini file
according to the scenario being run.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
scripts/build_utils.sh

index 503532736f8e8f523036e72303aae3747898952f..59db3c13f1a936c09a442508a8bfaa890ccb40fa 100644 (file)
@@ -762,7 +762,7 @@ case $SCENARIO in
     ;;
 esac
 
-for tox_env in $("$VENV"/tox -l)
+for tox_env in $("$VENV"/tox -c "$TOX_INI_FILE" -l)
 do
   if [[ "$ENV_NAME" == "$tox_env" ]]; then
 # shellcheck disable=SC2116