[mutter] tests: use abs_srcdir to refer to metatest files



commit 859bea629b52ef060e94e0761e270d79303fe844
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Fri Jun 29 22:14:06 2018 +0200

    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 $@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]