qemu_kvm: disable tests that meddle with system time

This commit is contained in:
Vladimír Čunát 2013-04-11 18:58:46 +02:00
parent 7e5286db50
commit 774afb7ff2

View file

@ -21,7 +21,10 @@ stdenv.mkDerivation rec {
patches = [ ./fix-librt-check.patch ];
postPatch = "patchShebangs .;"
postPatch = ''
patchShebangs .
sed '/qtest_add_func.*check_time/d' -i tests/rtc-test.c
'' # disable tests that meddle with system time, they seem to work bad, maybe due to newer glib
+ stdenv.lib.optionalString spiceSupport ''
for i in configure spice-qemu-char.c ui/spice-input.c ui/spice-core.c ui/qemu-spice.h; do
substituteInPlace $i --replace '#include <spice.h>' '#include <spice/spice.h>'