FreeBSD/poudriere 18c9651 — src/share/poudriere/include pkg.sh
pkg_notes_get: Avoid setvar problems
Delta | File | |
---|---|---|
+11 | -10 | src/share/poudriere/include/pkg.sh |
+11 | -10 | 1 files |
pkg_notes_get: Avoid setvar problems
Delta | File | |
---|---|---|
+11 | -10 | src/share/poudriere/include/pkg.sh |
+11 | -10 | 1 files |
make checkquick: Include dry bulk tests
Delta | File | |
---|---|---|
+2 | -4 | Makefile.am |
+2 | -4 | Makefile.in |
+4 | -8 | 2 files |
testport: Fix not adding PKGENV if no notes are added. This was seen on cirrus where there is no git checkout.
Delta | File | |
---|---|---|
+4 | -4 | src/share/poudriere/include/pkg.sh |
+2 | -1 | src/share/poudriere/common.sh |
+6 | -5 | 2 files |
build quick tests: Also test PKG_NO_VERSION_FOR_DEPS
Delta | File | |
---|---|---|
+30 | -21 | test/testport-build-quick-1-dep.sh |
+30 | -21 | test/testport-build-quick-pkg.sh |
+27 | -18 | test/bulk-build-quick-pkg.sh |
+87 | -60 | 3 files |
set +x in some noisy functions
Delta | File | |
---|---|---|
+2 | -0 | src/share/poudriere/common.sh |
+2 | -0 | 1 files |
bulk tests: rework some logclean and error handling. - Unhide output - Only consider lock acquisition failure OK - Don't logclean while acquiring test contexts - While here avoid bootstrap code with test context lookup - logclean: Ignore potential harmless race in find_broken_latest_per_pkg_links
Delta | File | |
---|---|---|
+38 | -18 | src/share/poudriere/logclean.sh |
+30 | -5 | test/runtest.sh |
+12 | -4 | test/common.bulk.sh |
+1 | -1 | test/distclean-badorigin.sh |
+1 | -1 | test/options-badorigin.sh |
+1 | -0 | test/common.sh |
+83 | -29 | 6 files |
runtest: Bump /bin/sh multipler to 5
Delta | File | |
---|---|---|
+2 | -2 | test/runtest.sh |
+2 | -2 | 1 files |
debug
Delta | File | |
---|---|---|
+2 | -2 | .cirrus.yml |
+4 | -0 | src/share/poudriere/testport.sh |
+6 | -2 | 2 files |
bulk tests: rework some logclean handling. - Unhide output - Only consider lock acquisition failure OK - Don't logclean while acquiring test contexts - While here avoid bootstrap code with test context lookup - logclean: Ignore potential harmless race in find_broken_latest_per_pkg_links
Delta | File | |
---|---|---|
+14 | -5 | test/runtest.sh |
+12 | -4 | test/common.bulk.sh |
+6 | -1 | src/share/poudriere/logclean.sh |
+32 | -10 | 3 files |
jobs test: Raise timeout for slow cirrus system
Delta | File | |
---|---|---|
+1 | -1 | test/jobs.sh |
+1 | -1 | 1 files |
runtest: Lower timeout for quick tests
Delta | File | |
---|---|---|
+1 | -0 | test/runtest.sh |
+1 | -0 | 1 files |
Import lockf from FreeBSD main 4c8b54f76. This is needed for runtest to use lockf -T.
Delta | File | |
---|---|---|
+429 | -0 | external/lockf/lockf.c |
+33 | -10 | Makefile.in |
+2 | -0 | Makefile.am |
+1 | -0 | .gitignore |
+465 | -10 | 4 files |
lock_read_pid can return an error
Delta | File | |
---|---|---|
+7 | -2 | src/share/poudriere/include/util.sh |
+7 | -2 | 1 files |
shash_get: Support var_return=- for stdout output
Delta | File | |
---|---|---|
+17 | -6 | src/share/poudriere/include/shared_hash.sh |
+10 | -0 | test/shash-basic.sh |
+27 | -6 | 2 files |
runtest: make skips case clearer
Delta | File | |
---|---|---|
+2 | -2 | test/runtest.sh |
+2 | -2 | 1 files |
Correct some comments about EPIPE which should be SIGPIPE
Delta | File | |
---|---|---|
+7 | -7 | test/setup_traps.sh |
+1 | -1 | external/patches/sh/011-funcname-stack.patch |
+1 | -1 | external/sh/eval.c |
+1 | -1 | src/share/poudriere/include/parallel.sh |
+1 | -1 | test/runtest.sh |
+11 | -11 | 5 files |
runtest: Comment what TEST_CONTEXTS_PARALLEL is
Delta | File | |
---|---|---|
+1 | -0 | test/runtest.sh |
+1 | -0 | 1 files |
readlines_file: Fix stdout output. - Let "no vars" case work. - Support var_return=- for stdout like other functions.
Delta | File | |
---|---|---|
+30 | -1 | test/readlines.sh |
+19 | -3 | src/poudriere-sh/mapfile.c |
+15 | -5 | src/share/poudriere/include/util.sh |
+5 | -0 | test/mapfile.sh |
+69 | -9 | 4 files |
runtest: An existing running test is immediately fatal.
Delta | File | |
---|---|---|
+1 | -1 | test/runtest.sh |
+1 | -1 | 1 files |
Cleanup some bad setvar name clashes. This is a problem when the child uses the same variable name as the parent's for storing the variable name in as the value stays local in the child.
Delta | File | |
---|---|---|
+14 | -14 | src/share/poudriere/include/util.sh |
+9 | -9 | src/share/poudriere/common.sh |
+23 | -23 | 2 files |
tests condvar: make which optional
Delta | File | |
---|---|---|
+9 | -9 | test/common.sh |
+9 | -9 | 1 files |
_lock_read_pid: Don't loop forever if there's no pidfile
Delta | File | |
---|---|---|
+6 | -2 | src/share/poudriere/include/util.sh |
+6 | -2 | 1 files |
spawn_job: Set spawn_job, spawn_pgid, and spawn_pid.
Delta | File | |
---|---|---|
+4 | -1 | src/share/poudriere/include/parallel.sh |
+1 | -0 | test/jobs.sh |
+5 | -1 | 2 files |
tests: factorize running test functions
Delta | File | |
---|---|---|
+16 | -0 | test/common.sh |
+1 | -6 | test/timestamp.sh |
+1 | -6 | test/jobs.sh |
+1 | -1 | test/runtest.sh |
+19 | -13 | 4 files |
tests: Move condvar into common.sh
Delta | File | |
---|---|---|
+43 | -0 | test/common.sh |
+0 | -42 | test/setup_traps.sh |
+43 | -42 | 2 files |
exit_handler: Document why SIGPIPE is blocked
Delta | File | |
---|---|---|
+2 | -1 | src/share/poudriere/common.sh |
+2 | -1 | 1 files |
poudriere: Suck in FP_* vars. Also correct FP_BUILD_PKG_EXIT_PKGNAMES msg while here
Delta | File | |
---|---|---|
+1 | -1 | src/bin/poudriere.in |
+1 | -1 | src/share/poudriere/common.sh |
+2 | -2 | 2 files |
runtest: Ensure timeout --foreground SIGTERM propagates down
Delta | File | |
---|---|---|
+31 | -2 | test/timestamp.sh |
+15 | -2 | src/libexec/poudriere/timestamp/timestamp.c |
+1 | -1 | test/runtest.sh |
+47 | -5 | 3 files |
runtest: Allow TIMEOUT_KILL_SIGNAL from env
Delta | File | |
---|---|---|
+2 | -1 | test/runtest.sh |
+2 | -1 | 1 files |
runtest TRUSS: Lower string size. 512 was to capture long paths. 256 should be enough now after recent changes to reduce the path lengths.
Delta | File | |
---|---|---|
+1 | -1 | test/runtest.sh |
+1 | -1 | 1 files |