run revision 35f29b17699c3d52f77857c530300318b14148f8
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Run continuous integration tests.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Copyright (C) 2014 Red Hat
03831d35f7499c87d51205817c93e9a8d42c4baestevel# This program is free software; you can redistribute it and/or modify
03831d35f7499c87d51205817c93e9a8d42c4baestevel# it under the terms of the GNU General Public License as published by
03831d35f7499c87d51205817c93e9a8d42c4baestevel# the Free Software Foundation; either version 3 of the License, or
03831d35f7499c87d51205817c93e9a8d42c4baestevel# (at your option) any later version.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# This program is distributed in the hope that it will be useful,
03831d35f7499c87d51205817c93e9a8d42c4baestevel# but WITHOUT ANY WARRANTY; without even the implied warranty of
03831d35f7499c87d51205817c93e9a8d42c4baestevel# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# GNU General Public License for more details.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You should have received a copy of the GNU General Public License
03831d35f7499c87d51205817c93e9a8d42c4baestevel# along with this program. If not, see <http://www.gnu.org/licenses/>.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Minimum percentage of code lines covered by tests
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Minimum percentage of code functions covered by tests
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Output program usage information.
03831d35f7499c87d51205817c93e9a8d42c4baestevelUsage: `basename "$0"` [OPTION...]
03831d35f7499c87d51205817c93e9a8d42c4baestevelRun continuous integration tests.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -h, --help Output this help message and exit.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -p, --prefix=STRING Use STRING as the prefix to prepend to file and
03831d35f7499c87d51205817c93e9a8d42c4baestevel directory paths in output.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -n, --no-deps Don't attempt to install dependencies.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -e, --essential Run the essential subset of tests.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -m, --moderate Run the moderate subset of tests.
03831d35f7499c87d51205817c93e9a8d42c4baestevel -r, --rigorous,
03831d35f7499c87d51205817c93e9a8d42c4baestevel -f, --full Run the rigorous (full) set of tests.
03831d35f7499c87d51205817c93e9a8d42c4baestevelDefault options: --essential
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Output a file display path: a path relocated from base directory (BASE_DIR)
03831d35f7499c87d51205817c93e9a8d42c4baestevel# to base prefix (BASE_PFX).
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Run a stage.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Args: id cmd [arg...]
config_opts['yum.conf'] += '''
status=0
\"$valgrind_test_pattern\" -- \
status=$?
status=0
status=$?
unset CFLAGS
status=$?
ci.info |& tee ci-genhtml.out'
unset CFLAGS
--longoptions help,prefix:,no-deps \
eval set -- "$args_expr"
-h|--help)
-p|--prefix)
DEPS=false; shift;;
-e|--essential)
-m|--moderate)
if "$DEPS"; then
if "$RIGOROUS"; then
trap - EXIT
echo SUCCESS