run revision 933c7c5efc76b4a9f3206b36bf6fe60e5dd635f1
29e18dff973632afcdb1ebf98dbc9d38f80a7792vboxsync# Run continuous integration tests.
29e18dff973632afcdb1ebf98dbc9d38f80a7792vboxsync# Copyright (C) 2014 Red Hat
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# This program is free software; you can redistribute it and/or modify
29e18dff973632afcdb1ebf98dbc9d38f80a7792vboxsync# it under the terms of the GNU General Public License as published by
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# the Free Software Foundation; either version 3 of the License, or
343053a42dedb94c8ef5534fff89c72384adf94dvboxsync# (at your option) any later version.
343053a42dedb94c8ef5534fff89c72384adf94dvboxsync# This program is distributed in the hope that it will be useful,
343053a42dedb94c8ef5534fff89c72384adf94dvboxsync# but WITHOUT ANY WARRANTY; without even the implied warranty of
343053a42dedb94c8ef5534fff89c72384adf94dvboxsync# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
343053a42dedb94c8ef5534fff89c72384adf94dvboxsync# GNU General Public License for more details.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# You should have received a copy of the GNU General Public License
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# along with this program. If not, see <http://www.gnu.org/licenses/>.
66ab05d147fcb24a5fec1cd3c37a1799db26c804vboxsyncexport PATH=`dirname "\`readlink -f \"\$0\"\`"`:$PATH
2907c780b193573627b0c40724bbc1bd0f8e9d34vboxsync# Minimum percentage of code lines covered by tests
2907c780b193573627b0c40724bbc1bd0f8e9d34vboxsync# Minimum percentage of code functions covered by tests
66ab05d147fcb24a5fec1cd3c37a1799db26c804vboxsync# Output program usage information.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsyncUsage: `basename "$0"` [OPTION...]
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsyncRun continuous integration tests.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -h, --help Output this help message and exit.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -p, --prefix=STRING Use STRING as the prefix to prepend to file and
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync directory paths in output.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -n, --no-deps Don't attempt to install dependencies.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -e, --essential Run the essential subset of tests.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -m, --moderate Run the moderate subset of tests.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -r, --rigorous,
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync -f, --full Run the rigorous (full) set of tests.
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsyncDefault options: --essential
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# Output a file display path: a path relocated from base directory (BASE_DIR)
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# to base prefix (BASE_PFX).
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# Args: path
fb27aa740466280f820e13e238bc6dd0b477eb37vboxsync# Run a stage.
declare end
set +o errexit
status=$?
set -o errexit
config_opts['yum.conf'] += '''
status=0
status=$?
status=0
status=$?
unset CFLAGS
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