From 2e6504df625039619649e550d9dca3d92b0edf5d Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Thu, 8 Aug 2013 15:07:14 +0200 Subject: [PATCH] run: disable libc_ffat test for some qemu versions Disable qemu version known to be not working with the atapi driver. Issue #827 --- libports/run/libc_ffat.run | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libports/run/libc_ffat.run b/libports/run/libc_ffat.run index aa386b5fd..8cfb3f9de 100644 --- a/libports/run/libc_ffat.run +++ b/libports/run/libc_ffat.run @@ -22,6 +22,22 @@ if {![is_qemu_available]} { exit 0 } +if {[have_spec x86]} { + set qemu "qemu-system-i386" + if {[have_spec 64bit]} { set qemu "qemu-system-x86_64" } + + set version [exec $qemu --version] + set version [regexp -inline {[0-9]+\.[0-9]+\.[0-9]+} $version] + + if {$version >= 1.5} { + puts "Atapi driver on Qemu $version known to be not working."; + puts "For more details see Genode issue 827 on github"; + + puts stderr "Test requires 'fix for issue 827'" + exit 0; + } +} + # # Build #