minor changes in gate hook

Change-Id: Ie46674fb061b6b45fccfaf025b28be0000e826e9
This commit is contained in:
Eyal 2017-08-14 08:38:30 +03:00
parent 43f7ea634c
commit 3d63af5548

View File

@ -23,12 +23,9 @@ else
TESTS="topology" TESTS="topology"
fi fi
cd $DEVSTACK_PATH/ sudo cp -rf $DEVSTACK_PATH/vitrage/vitrage_tempest_tests/tests/resources/static_physical/static_physical_configuration.yaml /etc/vitrage/
sudo cp -rf vitrage/vitrage_tempest_tests/tests/resources/static_physical/static_physical_configuration.yaml /etc/vitrage/ sudo cp -rf $DEVSTACK_PATH/vitrage/vitrage_tempest_tests/tests/resources/heat/heat_template.yaml /etc/vitrage/
sudo cp -rf vitrage/vitrage_tempest_tests/tests/resources/heat/heat_template.yaml /etc/vitrage/ sudo cp -rf $DEVSTACK_PATH/vitrage/vitrage_tempest_tests/tests/resources/heat/policy.json-tempest /etc/heat/
sudo cp -rf vitrage/vitrage_tempest_tests/tests/resources/heat/policy.json-tempest /etc/heat/
sudo cp $DEVSTACK_PATH/tempest/etc/logging.conf.sample $DEVSTACK_PATH/tempest/etc/logging.conf sudo cp $DEVSTACK_PATH/tempest/etc/logging.conf.sample $DEVSTACK_PATH/tempest/etc/logging.conf
if [ "$DEVSTACK_GATE_USE_PYTHON3" == "True" ]; then if [ "$DEVSTACK_GATE_USE_PYTHON3" == "True" ]; then
@ -37,7 +34,6 @@ fi
cd $DEVSTACK_PATH/tempest/; sudo -E testr init cd $DEVSTACK_PATH/tempest/; sudo -E testr init
env
echo "Listing existing Tempest tests" echo "Listing existing Tempest tests"
sudo -E testr list-tests vitrage_tempest_tests sudo -E testr list-tests vitrage_tempest_tests
sudo -E testr list-tests vitrage_tempest_tests | grep -E "$TESTS" > /tmp/vitrage_tempest_tests.list sudo -E testr list-tests vitrage_tempest_tests | grep -E "$TESTS" > /tmp/vitrage_tempest_tests.list