autobuild3
autobuild3 copied to clipboard
build: In-build and post-installation test steps.
Two kinds of tests need to be implemented:
autobuild/test
Occurs before installation.
autobuild/abtest
Part of abscripts abstraction, for non-supporting PMs install to /var/ab/tests/$PKGNAME.
# /usr/bin/ab-testpackage
if package manager has support; then exec out; fi
abbl-invoke "/var/ab/tests/$PKGNAME"
Occurs before installation.
Might as well just change that to a switch to whether to run unit tests or not.
As an side, some good test can also be fed to AutoFDO…
As an side, some good test can also be fed to AutoFDO…
Yaaas!