From 859bea629b52ef060e94e0761e270d79303fe844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 29 Jun 2018 22:14:06 +0200 Subject: [PATCH] tests: use abs_srcdir to refer to metatest files These files are used to run mutter-test tools and using relative paths won't work if the builddir doesn't match the srcdir. This won't affect their installation (in case the build option is passed) --- src/Makefile-tests.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Makefile-tests.am b/src/Makefile-tests.am index 244983ff5..1ad5ad5e8 100644 --- a/src/Makefile-tests.am +++ b/src/Makefile-tests.am @@ -11,13 +11,13 @@ test_programs = \ if BUILDOPT_INSTALL_TESTS stackingdir = $(pkgdatadir)/tests/stacking -dist_stacking_DATA = \ - tests/stacking/basic-x11.metatest \ - tests/stacking/basic-wayland.metatest \ - tests/stacking/minimized.metatest \ - tests/stacking/mixed-windows.metatest \ - tests/stacking/set-parent.metatest \ - tests/stacking/override-redirect.metatest +dist_stacking_DATA = \ + $(abs_srcdir)/tests/stacking/basic-x11.metatest \ + $(abs_srcdir)/tests/stacking/basic-wayland.metatest \ + $(abs_srcdir)/tests/stacking/minimized.metatest \ + $(abs_srcdir)/tests/stacking/mixed-windows.metatest \ + $(abs_srcdir)/tests/stacking/set-parent.metatest \ + $(abs_srcdir)/tests/stacking/override-redirect.metatest mutter-all.test: tests/mutter-all.test.in $(AM_V_GEN) sed -e "s|@libexecdir[@]|$(libexecdir)|g" $< > $@.tmp && mv $@.tmp $@