Commit f7b19c34 authored by Ariadne Conill's avatar Ariadne Conill 🐰
Browse files

abuild: rootbld: run testsuites if requested, also handle package() only builds

parent 3225884e
...@@ -2074,8 +2074,18 @@ checksum() { ...@@ -2074,8 +2074,18 @@ checksum() {
} }
rootbld_actions() { rootbld_actions() {
local part local part _build=build _check=check_fakeroot
for part in symlinksrc unpack prepare build rootpkg; do 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 runpart $part
done done
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment