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
Martin Stein 8 years ago committed by Christian Helmuth
parent 8d9561595c
commit d2b82274db

@ -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

@ -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

@ -27,7 +27,7 @@ set vcpus_to_be_used 1
source ${genode_dir}/repos/ports/run/
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"

@ -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"