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
21 sprintf "%s/d/websites" (Sys.getenv "HOME")
22 let libguestfs_website_repo =
23 sprintf "%s/libguestfs" websites_repo
24 let libguestfs_builder_repo =
25 sprintf "%s/libguestfs-builder" websites_repo
26 let libguestfs_download_repo =
27 sprintf "%s/libguestfs-download" websites_repo
29 let libguestfs_localconfigure source =
32 `Git -> "./autogen.sh"
33 | `Tarball -> "./configure" in
38 # erlang is disabled because it is broken in Rawhide:
39 # https://bugzilla.redhat.com/show_bug.cgi?id=1316206
44 --with-default-backend=libvirt \\
52 let libguestfs_localenv supermin =
54 # Use the real virt-builder configuration from /etc.
55 export XDG_CONFIG_DIRS=/etc
57 # Fails under valgrind because of a leak in the fuse library,
58 # although I could not work out exactly why.
59 export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
61 # Fails under valgrind because cpio subprocess has a memory leak.
62 export SKIP_TEST_FILE_ARCHITECTURE_11=1
63 export SKIP_TEST_FILE_ARCHITECTURE_15=1
65 # Fails under valgrind because xzcat subprocess has a memory leak.
66 export SKIP_TEST_FILE_ARCHITECTURE_17=1
68 # This test fails because we build the ISO after encoding the checksum
69 # of the ISO in the test itself. Need to fix the test to work out the
70 # checksum at runtime.
71 export SKIP_TEST_CHECKSUM_DEVICE=1
73 # Disable parallel virt-alignment-scan & virt-df tests (RHBZ#1025942).
74 export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
75 export SKIP_TEST_VIRT_DF_GUESTS_SH=1
77 # fusermount behaviour seems to have broken the test (RHBZ#1220751).
78 export SKIP_TEST_FUSE_UMOUNT_RACE_SH=1
79 export SKIP_TEST_GUESTMOUNT_FD=1
81 # xfs_admin has no effect in Rawhide (RHBZ#1233220).
82 export SKIP_TEST_XFS_ADMIN=1
83 export SKIP_TEST_XFS_MISC_PL=1
85 # syslinux broken by mtools (RHBZ#1275087).
86 export SKIP_TEST_SYSLINUX_PL=1
88 # See https://www.redhat.com/archives/libguestfs/2015-November/msg00144.html
89 export SKIP_TEST_INOTIFY_ADD_WATCH=1
91 # libguestfs: error: mkfs_btrfs: /dev/sda1: not enough free space
93 export SKIP_TEST_BTRFS_IMAGE_0=1
95 # Yawn, btrfs broken again. RHBZ#1372037
96 export SKIP_TEST_BTRFS_DEVICES_SH=1
98 # Kernel takes lots of RAM for virtio-scsi RHBZ#1478201
99 export SKIP_TEST_255_DISKS_SH=1
100 export SKIP_TEST_ADD_LOTS_OF_DISKS_SH=1
102 # virtio-9p modules don't all get loaded RHBZ#1499896
103 export SKIP_TEST_9P_SH=1
105 # These tests are broken by libvirt not supporting qemu >= 2.10 locking.
106 # REMOVE THIS when fixed.
107 export SKIP_TEST820RHBZ912499_PY=1
109 # ntfsclone is broken in Rawhide (RHBZ#1601146).
110 export SKIP_TEST_NTFSCLONE_SH=1
114 | Some (supermin, supermin_helper) ->
116 # Needs a modified path to supermin binaries:
118 export SUPERMIN_HELPER=%s
120 " supermin supermin_helper