diff options
Diffstat (limited to 'tools/gate/integration/pre_test_hook.sh')
-rwxr-xr-x | tools/gate/integration/pre_test_hook.sh | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/tools/gate/integration/pre_test_hook.sh b/tools/gate/integration/pre_test_hook.sh index 9699c005a..e7787d9a0 100755 --- a/tools/gate/integration/pre_test_hook.sh +++ b/tools/gate/integration/pre_test_hook.sh @@ -4,5 +4,20 @@ set -x -cd /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d +HORIZON_CODE_DIR=/opt/stack/new/horizon + +cd ${HORIZON_CODE_DIR}/openstack_dashboard/local/local_settings.d mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py + +if [ "$1" == "deprecated" ] ; then + +mv _2010_integration_tests_deprecated.py.example _2010_integration_tests_deprecated.py +cat > ${HORIZON_CODE_DIR}/openstack_dashboard/test/integration_tests/local-horizon.conf <<EOF +[image] +panel_type=legacy + +[flavors] +panel_type=legacy +EOF + +fi |