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 # Fails under valgrind because of a leak in the fuse library,
50 # although I could not work out exactly why.
51 export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
53 # Fails under valgrind because cpio subprocess has a memory leak.
54 export SKIP_TEST_FILE_ARCHITECTURE_11=1
55 export SKIP_TEST_FILE_ARCHITECTURE_15=1
57 # Fails under valgrind because xzcat subprocess has a memory leak.
58 export SKIP_TEST_FILE_ARCHITECTURE_17=1
60 # This test fails because we build the ISO after encoding the checksum
61 # of the ISO in the test itself. Need to fix the test to work out the
62 # checksum at runtime.
63 export SKIP_TEST_CHECKSUM_DEVICE=1
65 # Disable parallel virt-alignment-scan & virt-df tests (RHBZ#1025942).
66 export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
67 export SKIP_TEST_VIRT_DF_GUESTS_SH=1
69 # fusermount behaviour seems to have broken the test (RHBZ#1220751).
70 export SKIP_TEST_FUSE_UMOUNT_RACE_SH=1
71 export SKIP_TEST_GUESTMOUNT_FD=1
73 # xfs_admin has no effect in Rawhide (RHBZ#1233220).
74 export SKIP_TEST_XFS_ADMIN=1
75 export SKIP_TEST_XFS_MISC_PL=1
77 # syslinux broken by mtools (RHBZ#1275087).
78 export SKIP_TEST_SYSLINUX_PL=1
80 # See https://www.redhat.com/archives/libguestfs/2015-November/msg00144.html
81 export SKIP_TEST_INOTIFY_ADD_WATCH=1
83 # libguestfs: error: mkfs_btrfs: /dev/sda1: not enough free space
85 export SKIP_TEST_BTRFS_IMAGE_0=1
89 | Some (supermin, supermin_helper) ->
91 # Needs a modified path to supermin binaries:
93 export SUPERMIN_HELPER=%s
95 " supermin supermin_helper