xbps-src: add -K option for running the full testsuite.
Some packages have rather long test suites, with an option for a shorter one. With this option, one can choose between shorter tests (-Q) or the complete longer ones (-K). This also allows CI to run only the shorter testsuites. Make the appropriate changes to etc/default.conf and Manual.md as well.
This commit is contained in:
parent
fdf3fef491
commit
83cc290601
3 changed files with 10 additions and 2 deletions
7
xbps-src
7
xbps-src
|
@ -205,6 +205,8 @@ $(print_cross_targets)
|
|||
|
||||
-Q Enable running the check stage.
|
||||
|
||||
-K Enable running the check stage with longer tests.
|
||||
|
||||
-q Suppress informational output of xbps-src (build output is still printed).
|
||||
|
||||
-r <repo>
|
||||
|
@ -381,7 +383,8 @@ while getopts "$XBPS_OPTSTRING" opt; do
|
|||
o) XBPS_ARG_PKG_OPTIONS="$OPTARG"; XBPS_OPTIONS+=" -o $OPTARG";;
|
||||
p) XBPS_ARG_PRINT_VARIABLES="$OPTARG"; XBPS_OPTIONS+=" -p $OPTARG";;
|
||||
q) XBPS_ARG_QUIET=1; XBPS_OPTIONS+=" -q";;
|
||||
Q) XBPS_ARG_CHECK_PKGS=1; XBPS_OPTIONS+=" -Q";;
|
||||
Q) XBPS_ARG_CHECK_PKGS=yes; XBPS_OPTIONS+=" -Q";;
|
||||
K) XBPS_ARG_CHECK_PKGS=full; XBPS_OPTIONS+=" -K";;
|
||||
r) XBPS_ARG_ALT_REPOSITORY="$OPTARG"; XBPS_OPTIONS+=" -r $OPTARG";;
|
||||
t) XBPS_ARG_TEMP_MASTERDIR=1; XBPS_OPTIONS+=" -t -C";;
|
||||
V) echo "xbps-src-$XBPS_SRC_VERSION $(xbps-uhelper -V)" && exit 0;;
|
||||
|
@ -459,7 +462,6 @@ fi
|
|||
[ -n "$XBPS_ARG_TEMP_MASTERDIR" ] && XBPS_TEMP_MASTERDIR=1
|
||||
[ -n "$XBPS_ARG_BINPKG_EXISTS" ] && XBPS_BINPKG_EXISTS=1
|
||||
[ -n "$XBPS_ARG_USE_GIT_REVS" ] && XBPS_USE_GIT_REVS=1
|
||||
[ -n "$XBPS_ARG_CHECK_PKGS" ] && XBPS_CHECK_PKGS=1
|
||||
[ -n "$XBPS_ARG_DEBUG_PKGS" ] && XBPS_DEBUG_PKGS=1
|
||||
[ -n "$XBPS_ARG_SKIP_DEPS" ] && XBPS_SKIP_DEPS=1
|
||||
[ -n "$XBPS_ARG_KEEP_ALL" ] && XBPS_KEEP_ALL=1
|
||||
|
@ -467,6 +469,7 @@ fi
|
|||
[ -n "$XBPS_ARG_PRINT_VARIABLES" ] && XBPS_PRINT_VARIABLES="$XBPS_ARG_PRINT_VARIABLES"
|
||||
[ -n "$XBPS_ARG_ALT_REPOSITORY" ] && XBPS_ALT_REPOSITORY="$XBPS_ARG_ALT_REPOSITORY"
|
||||
[ -n "$XBPS_ARG_CROSS_BUILD" ] && XBPS_CROSS_BUILD="$XBPS_ARG_CROSS_BUILD"
|
||||
[ -n "$XBPS_ARG_CHECK_PKGS" ] && XBPS_CHECK_PKGS="$XBPS_ARG_CHECK_PKGS"
|
||||
[ -n "$XBPS_ARG_MAKEJOBS" ] && XBPS_MAKEJOBS="$XBPS_ARG_MAKEJOBS"
|
||||
|
||||
export XBPS_BUILD_ONLY_ONE_PKG XBPS_SKIP_REMOTEREPOS XBPS_BUILD_FORCEMODE \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue