do not edit — generated by btf.
git.druid.rocksindexdruid520mptest/run.sh

test/run.sh


#!/bin/sh
# mp/mpx regression test runner.
#
# a toolset of independent, themed suites (test/suites/*.sh) sharing one
# framework (test/lib.sh: assertions, scratch-port/mp.conf helpers, PASS/
# fail bookkeeping). exercises the confirmed-bug scenarios found and fixed
# during development of the SLOT/USE/patches.conf/hooks.conf/pinning/
# blocker/sysroot machinery, so a future change can be regression-checked
# in one shot instead of hand-typing each scenario again.
#
# run inside the sandbox chroot, with the mp/mpx build already done:
#   chroot /root/mp-sandbox-chroot /bin/sh /root/work/mp/test/run.sh [suite ...]
# (expects the built tree at /root/mpbuildtest -- see mk/b.sh; adjust
# MP_BIN/MP_BACKEND in lib.sh if your build lives elsewhere.)
#
# with no arguments, runs every suite below, then a closing mp verify +
# mp dryrun sweep against the real ports tree. Name one or more suites
# (their filename under suites/, without ".sh") to run just those, e.g.:
#   sh test/run.sh patches hooks
#
# exit status is 0 iff every test passed; a summary is always printed
# last regardless, so a truncated run is still visible.
 
set -u
TESTDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
 
. "$TESTDIR/lib.sh"
 
ALL_SUITES="resolution config_loading config_matrix dependencies patches hooks commands version portformat graphs backtracking slots_advanced sysroots multirepo integration removal niches plugins fuzz"
SUITES=${*:-$ALL_SUITES}
 
echo "mp/mpx regression suite starting."
lib_start
 
for suite in $SUITES; do
	CUR_SUITE=$suite
	. "$TESTDIR/suites/$suite.sh"
	"run_${suite}_suite"
done
 
lib_finish
powered by btf.