mistral/functionaltests/post_test_hook.sh
Sergey Kolekonov 1984b3ea54 Fix mistral tests
- corrected the path to tests
- removed check_api.sh script because it's not needed anymore
- made scripts executable

Change-Id: I2c6364e8ad4355b8b8565904d58773e8412bdf6d
2014-05-06 12:36:22 +04:00

25 lines
876 B
Bash
Executable File

#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# This script is executed inside post_test_hook function in devstack gate.
cd /opt/stack/new/mistral/functionaltests
sudo ./run_tests.sh
RETVAL=$?
# Copy tempest log files to be published among other logs upon job completion
sudo cp /opt/stack/new/mistral/functionaltests/tempest.log /opt/stack/logs
exit $RETVAL