run: non-fatal exit on unsupported base build config

The kernel-specific boot dir scripts exit with 0 and log "Test
requires..." to inform the logger frontend of the base-archive
unavailability.
This commit is contained in:
Christian Helmuth
2018-04-16 13:33:20 +02:00
parent 761d75423d
commit 169d5bc376
7 changed files with 61 additions and 10 deletions

View File

@@ -106,5 +106,13 @@ proc run_boot_dir {binaries} {
##
# Base source archive within depot
#
proc base_src { } { return base-fiasco }
proc base_src { } {
if {[have_spec x86_32]} { return base-fiasco }
global specs
puts stderr "Test requires base-fiasco kernel archive, which is missing for this build configuration"
puts stderr " SPECS=\"$specs\""
exit 0
}