add --skip check/qemu

This commit is contained in:
Johannes 'josch' Schauer 2020-05-01 07:39:26 +02:00
parent d7f7f8cb34
commit 1b380e4513
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3234,7 +3234,9 @@ sub main() {
sparc => 'sparc', sparc => 'sparc',
sparc64 => 'sparc64', sparc64 => 'sparc64',
}; };
if ($options->{mode} eq "chrootless") { if (any { $_ eq 'check/qemu' } @{ $options->{skip} }) {
info "skipping check/qemu as requested";
} elsif ($options->{mode} eq "chrootless") {
info "skipping emulation check in chrootless mode"; info "skipping emulation check in chrootless mode";
} elsif ($hostarch ne $options->{nativearch}) { } elsif ($hostarch ne $options->{nativearch}) {
if (system('arch-test --version>/dev/null') != 0) { if (system('arch-test --version>/dev/null') != 0) {