autobuild3 icon indicating copy to clipboard operation
autobuild3 copied to clipboard

build: In-build and post-installation test steps.

Open Artoria2e5 opened this issue 10 years ago • 3 comments

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"

Artoria2e5 avatar Aug 17 '15 15:08 Artoria2e5

Occurs before installation.

Might as well just change that to a switch to whether to run unit tests or not.

MingcongBai avatar Aug 18 '15 04:08 MingcongBai

As an side, some good test can also be fed to AutoFDO…

Artoria2e5 avatar Mar 07 '16 00:03 Artoria2e5

As an side, some good test can also be fed to AutoFDO…

Yaaas!

MingcongBai avatar Mar 07 '16 00:03 MingcongBai