And use it for the build-amd64-freebsd-again job, which should test
the new FreeBSD build produced by build-amd64-freebsd and a host
install error should be treated as a failure in order to trigger the
bisection.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
revision_freebsd=$REVISION_FREEBSD \
host_hostflags=arch-$arch,purpose-build \
all_host_os=freebsd \
- freebsdbuildjob=build-$arch-freebsd
+ freebsdbuildjob=build-$arch-freebsd \
+ recipe_testinstall=true
done
echo $flight
if {$ok} { set syslog [spawn-ts broken = | ts-syslog-server] }
if {[llength $need_build_host]} {
- catching-otherwise broken {
+ if {[recipe-flag testinstall]} { set broken fail } { set broken broken }
+ catching-otherwise $broken {
prepare-build-host-[string tolower $need_build_host]
}
}
proc prepare-build-host-freebsd {} {
global jobinfo
- run-ts broken host-install(*) ts-freebsd-host-install
+ if {[recipe-flag testinstall]} { set broken fail } { set broken broken }
+ run-ts $broken host-install(*) ts-freebsd-host-install
run-ts . host-build-prep ts-build-prep-freebsd
}