Pull them out of the spec file instead.
" configure
let libguestfs_localenv supermin =
- "\
-# Parallel test runs out of resources starting qemu, unclear why.
-export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1
+ let skips =
+ shlines "grep SKIP_ %s" (fedora_specfile "libguestfs" "master") in
-# Fails under valgrind because cpio subprocess has a memory leak.
-export SKIP_TEST_FILE_ARCHITECTURE_11=1
-
-" ^
+ String.concat "\n" skips ^
match supermin with
| None -> ""
| Some (supermin, supermin_helper) ->