mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 16:32:14 +00:00
abuild: rootbld: run testsuites if requested, also handle package() only builds
This commit is contained in:
parent
3225884ed3
commit
f7b19c3454
14
abuild.in
14
abuild.in
@ -2074,8 +2074,18 @@ checksum() {
|
||||
}
|
||||
|
||||
rootbld_actions() {
|
||||
local part
|
||||
for part in symlinksrc unpack prepare build rootpkg; do
|
||||
local part _build=build _check=check_fakeroot
|
||||
if ! is_function package; then
|
||||
# if package() is missing then build is called from rootpkg
|
||||
_build=true
|
||||
fi
|
||||
if options_has "!checkroot"; then
|
||||
_check=check
|
||||
fi
|
||||
if ! want_check; then
|
||||
_check=true
|
||||
fi
|
||||
for part in symlinksrc unpack prepare $_build $_check rootpkg; do
|
||||
runpart $part
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user