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 # NB: --enable-valgrind-daemon is disabled because we
33 # should be checking production builds.
38 --with-default-backend=libvirt \\
46 let libguestfs_localenv supermin =
48 shlines "grep SKIP_ %s" (fedora_specfile "libguestfs" "master") in
51 # Fails under valgrind because of a leak in the fuse library,
52 # although I could not work out exactly why.
53 export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
55 # Fails under valgrind because cpio subprocess has a memory leak.
56 export SKIP_TEST_FILE_ARCHITECTURE_11=1
58 " ^ String.concat "\n" skips ^
61 | Some (supermin, supermin_helper) ->
63 # Needs a modified path to supermin binaries:
65 export SUPERMIN_HELPER=%s
67 " supermin supermin_helper