[gnome-maps] tests: Use meson.source_root()



commit 55c414e11d1ba93cdea93049cfd3cbf0ffa8baf8
Author: Marcus Lundblad <ml update uu se>
Date:   Sat May 30 09:56:53 2020 +0200

    tests: Use meson.source_root()

 tests/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index a80e13d5..08a76711 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -18,7 +18,9 @@ endforeach
 
 foreach test : tests
   test(test, find_program('gjs'),
-       args: ['-I', '../src/', '-I', '../tests/', 'tests/@0@'.format(test)],
+       args: ['-I', meson.source_root() + '/src/', '-I',
+              meson.source_root() + '/tests/',
+              'tests/@0@'.format(test)],
        env:  ['LANG=C', 'LC_ALL=C']
   )
 endforeach


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