run revision 057f699b401097ad7f48fe3760e81c6993619a4b
163N/A# Run continuous integration tests. 163N/A# Copyright (C) 2014 Red Hat 163N/A# This program is free software; you can redistribute it and/or modify 163N/A# it under the terms of the GNU General Public License as published by 163N/A# the Free Software Foundation; either version 3 of the License, or 163N/A# (at your option) any later version. 163N/A# This program is distributed in the hope that it will be useful, 163N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 163N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 163N/A# GNU General Public License for more details. 163N/A# You should have received a copy of the GNU General Public License 844N/A# Minimum percentage of code lines covered by tests 618N/A# Minimum percentage of code functions covered by tests 163N/A# Output program usage information. 163N/AUsage: `basename "$0"` [OPTION...] 163N/ARun continuous integration tests. 163N/A -h, --help Output this help message and exit. 163N/A -p, --prefix=STRING Use STRING as the prefix to prepend to file and 163N/A directory paths in output. 163N/A -n, --no-deps Don't attempt to install dependencies. 163N/A -e, --essential Run the essential subset of tests. 163N/A -m, --moderate Run the moderate subset of tests. 163N/A -f, --full Run the rigorous (full) set of tests. 163N/ADefault options: --essential 163N/A# Output a file display path: a path relocated from base directory (BASE_DIR) 163N/A# to base prefix (BASE_PFX). 1703N/A# Execute mock as is, or, if the user is not in the "mock" group, under sudo, 3996N/A# Execute mock_privileged with extra chroot configuration added. 3996N/A# Args: chroot [mock_arg...] 3996N/A# Input: extra configuration trap 'trap - RETURN; rm -R "$conf_dir";' RETURN # Preserve timestamps to avoid unnecessary cache rebuilds cat >> "${conf_dir}/${chroot}.cfg" # Execute mock_privileged with dependency package source configuration added. # Args: chroot [mock_arg...] repo='fedora-$releasever-$basearch' repo="epel-${BASH_REMATCH[1]}-\$basearch" echo "Unknown chroot config: $chroot" >&2 name=Extra SSSD dependencies # Run debug build checks. # Extended glob pattern matching tests to run under Valgrind. # NOTE: The particular pattern below is inverted "${CONFIGURE_ARG_LIST[@]}" \ "${CONFIGURE_ARG_LIST[@]}" "${CONFIGURE_ARG_LIST[@]}" \ # Run coverage build checks. # enable optimisation to avoid bug in gcc < 4.6.0 # gcc commit 7959b7e646b493f48a2ea7228fbf1c43f84bedea # 138bc75d-0d04-0410-961f-82ee72b054a4 "${CONFIGURE_ARG_LIST[@]}" \ # Build everything, including tests --title "sssd" --show-details \ --legend --prefix "$BASE_DIR" \ # Run a build inside a sub-directory. echo "Unknown option: $1" >&
2 echo "Positional arguments are not accepted." >&
2