run revision 444a82bd6d68c6f23e05d523ff92d328f6b2ec05
571N/A# Run continuous integration tests. 1072N/A# Copyright (C) 2014 Red Hat 571N/A# This program is free software; you can redistribute it and/or modify 919N/A# it under the terms of the GNU General Public License as published by 919N/A# the Free Software Foundation; either version 3 of the License, or 919N/A# (at your option) any later version. 919N/A# This program is distributed in the hope that it will be useful, 919N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 919N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 919N/A# GNU General Public License for more details. 919N/A# You should have received a copy of the GNU General Public License 911N/A# Minimum percentage of code lines covered by tests 1072N/A# Minimum percentage of code functions covered by tests 571N/A# Output program usage information. 970N/AUsage: `basename "$0"` [OPTION...] 970N/ARun continuous integration tests. 970N/A -h, --help Output this help message and exit. 970N/A -p, --prefix=STRING Use STRING as the prefix to prepend to file and 970N/A directory paths in output. 571N/A -n, --no-deps Don't attempt to install dependencies. 571N/A -e, --essential Run the essential subset of tests. 571N/A -m, --moderate Run the moderate subset of tests. 571N/A -f, --full Run the rigorous (full) set of tests. 571N/ADefault options: --essential # Output a file display path: a path relocated from base directory (BASE_DIR) # to base prefix (BASE_PFX). # Execute mock as is, or, if the user is not in the "mock" group, under sudo, # Execute mock_privileged with extra chroot configuration added. # Args: chroot [mock_arg...] # 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[@]}" \ --trace-children-skip='*/bin/*,*/sbin/*' \ "${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