run scripts: don't use is_qemu_available anymore

With the new run tool, there is no more is_qemu_available function. However,
some scripts still try to use it because only frequently used scripts were
updated by now. The commit replaces the function calls with the new
'have_include power_on/qemu' check.

Ref #1419
This commit is contained in:
Martin Stein 2015-02-24 14:11:35 +01:00 committed by Christian Helmuth
parent 8d9561595c
commit d2b82274db
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#
# Check if USB_RAW_DEVICE is set for Qemu
#
if {![info exists ::env(USB_RAW_DEVICE)] && [is_qemu_available]} {
if {![info exists ::env(USB_RAW_DEVICE)] && [have_include power_on/qemu]} {
puts "\nPlease define USB_RAW_DEVICE environment variable and set it to your USB device <bus.device>\n"
exit 0
}

View File

@ -7,7 +7,7 @@ if {[have_spec linux]} {
if {[expr [have_spec 64bit] && $use_atapi_drv]} {
puts "ATAPI driver does not support 64 bit."; exit 0 }
if {![is_qemu_available]} {
if {![have_include power_on/qemu]} {
puts "\nPlease setup your native sd or hard drive. Remove this fail stop";
puts "check when you have prepared your native environment.\n";
exit 0

View File

@ -27,7 +27,7 @@ set vcpus_to_be_used 1
source ${genode_dir}/repos/ports/run/seoul.inc
if {[is_qemu_available]} {
if {[have_include power_on/qemu]} {
if {![file exists bin/seoul-disc.raw]} {
puts "Please provide a disk image file to bin/seoul-disc.raw"

View File

@ -9,7 +9,7 @@
assert_spec nova
if {[is_qemu_available]} {
if {[have_include power_on/qemu]} {
puts "\nAuto test running on Qemu is not recommended.\n"
exit
}