1 (* This contains lots of configuration specifics which are
2 * unlikely to be useful unless you are me ...
9 let buildtmp = sprintf "%s/tmp/builds" (Sys.getenv "HOME")
12 let fedora_dir = Sys.getenv "HOME" // "d/fedora"
13 let fedora_repo pkg branch = fedora_dir // pkg // branch
14 let fedora_specfile pkg branch =
15 sprintf "%s/%s.spec" (fedora_repo pkg branch) pkg
18 let libguestfs_query_mins = 60
20 let libguestfs_website_repo =
21 sprintf "%s/d/websites/libguestfs" (Sys.getenv "HOME")
23 let libguestfs_localconfigure source =
26 `Git -> "./autogen.sh"
27 | `Tarball -> "./configure" in
32 # erlang is disabled because it is broken in Rawhide:
33 # https://bugzilla.redhat.com/show_bug.cgi?id=1316206
38 --with-default-backend=libvirt \\
47 let libguestfs_localenv supermin =
49 # Use the real virt-builder configuration from /etc.
50 export XDG_CONFIG_DIRS=/etc
52 # Fails under valgrind because of a leak in the fuse library,
53 # although I could not work out exactly why.
54 export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
56 # Fails under valgrind because cpio subprocess has a memory leak.
57 export SKIP_TEST_FILE_ARCHITECTURE_11=1
58 export SKIP_TEST_FILE_ARCHITECTURE_15=1
60 # Fails under valgrind because xzcat subprocess has a memory leak.
61 export SKIP_TEST_FILE_ARCHITECTURE_17=1
63 # This test fails because we build the ISO after encoding the checksum
64 # of the ISO in the test itself. Need to fix the test to work out the
65 # checksum at runtime.
66 export SKIP_TEST_CHECKSUM_DEVICE=1
68 # Disable parallel virt-alignment-scan & virt-df tests (RHBZ#1025942).
69 export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
70 export SKIP_TEST_VIRT_DF_GUESTS_SH=1
72 # fusermount behaviour seems to have broken the test (RHBZ#1220751).
73 export SKIP_TEST_FUSE_UMOUNT_RACE_SH=1
74 export SKIP_TEST_GUESTMOUNT_FD=1
76 # xfs_admin has no effect in Rawhide (RHBZ#1233220).
77 export SKIP_TEST_XFS_ADMIN=1
78 export SKIP_TEST_XFS_MISC_PL=1
80 # syslinux broken by mtools (RHBZ#1275087).
81 export SKIP_TEST_SYSLINUX_PL=1
83 # See https://www.redhat.com/archives/libguestfs/2015-November/msg00144.html
84 export SKIP_TEST_INOTIFY_ADD_WATCH=1
86 # libguestfs: error: mkfs_btrfs: /dev/sda1: not enough free space
88 export SKIP_TEST_BTRFS_IMAGE_0=1
90 # Yawn, btrfs broken again. RHBZ#1372037
91 export SKIP_TEST_BTRFS_DEVICES_SH=1
95 | Some (supermin, supermin_helper) ->
97 # Needs a modified path to supermin binaries:
99 export SUPERMIN_HELPER=%s
101 " supermin supermin_helper