mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-30 11:25:47 +00:00
run: set abs_builddir variables
test-lib.sh needs these to be set. Export them so that the virsh-* tests can be run using: builddir$ ./run srcdir/tests/virsh-snapshot Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
630b0dd6c3
commit
c6bcc4753d
@ -2233,6 +2233,7 @@ configure_file(output: 'meson-config.h', configuration: conf)
|
|||||||
# generate run helper
|
# generate run helper
|
||||||
run_conf = configuration_data()
|
run_conf = configuration_data()
|
||||||
run_conf.set('abs_builddir', meson.build_root())
|
run_conf.set('abs_builddir', meson.build_root())
|
||||||
|
run_conf.set('abs_top_builddir', meson.build_root())
|
||||||
configure_file(
|
configure_file(
|
||||||
input: 'run.in',
|
input: 'run.in',
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
|
3
run.in
3
run.in
@ -80,6 +80,9 @@ env["LIBVIRT_DIR_OVERRIDE"] = "1"
|
|||||||
# read problems when using glibc.
|
# read problems when using glibc.
|
||||||
env["MALLOC_PERTURB_"] = "%d" % random.randint(1, 255)
|
env["MALLOC_PERTURB_"] = "%d" % random.randint(1, 255)
|
||||||
|
|
||||||
|
env["abs_builddir"] = "@abs_builddir@"
|
||||||
|
env["abs_top_builddir"] = "@abs_top_builddir@"
|
||||||
|
|
||||||
modular_daemons = [
|
modular_daemons = [
|
||||||
"virtinterfaced",
|
"virtinterfaced",
|
||||||
"virtlxcd",
|
"virtlxcd",
|
||||||
|
Loading…
Reference in New Issue
Block a user