[libguestfs] Disable all btrfs tests (again).

Richard W.M. Jones rjones at fedoraproject.org
Fri Oct 12 07:45:18 UTC 2012


commit e6556730e3415e0b66794c73ad46fdc3636d8d00
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Oct 12 08:42:49 2012 +0100

    Disable all btrfs tests (again).
    
    These still fail in F18.
    
    They also fail (but less often) in F19, even though I added
    the btrfs-progs patch.
    
    For the latest status see:
    
    https://bugzilla.redhat.com/show_bug.cgi?id=863978

 libguestfs.spec |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 06f6453..63c7be7 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -758,6 +758,16 @@ export LIBGUESTFS_TRACE=1
 # checksum at runtime.
 export SKIP_TEST_CHECKSUM_DEVICE=1
 
+# Disable all btrfs tests (RHBZ#863978).
+export SKIP_TEST_BTRFS_FSCK=1
+export SKIP_TEST_BTRFS_SET_SEEDING=1
+export SKIP_TEST_BTRFS_FILESYSTEM_SYNC=1
+export SKIP_TEST_BTRFS_SUBVOLUME_DELETE=1
+export SKIP_TEST_BTRFS_SUBVOLUME_SNAPSHOT=1
+export SKIP_TEST_MKFS_BTRFS=1
+perl -i.bak -e 'while (<>) {print unless /tests\/btrfs/}' Makefile.am
+perl -i.bak -e 'while (<>) {print unless /tests\/charset/}' Makefile.am
+
 %if %{runtests}
 make check
 %endif


More information about the scm-commits mailing list