[gimp/wip/nielsdg/meson-fix-test-build: 6/8] meson: Fix envvar in tests



commit 1dc6fd1c616e82eda9130ae2a96490c713f3428d
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun May 10 17:44:32 2020 +0200

    meson: Fix envvar in tests
    
    `GIMP_TESTING_ABS_TOP_SRCDIR` is supposed to point to the top source root directory, not the top build 
directory.

 app/tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/tests/meson.build b/app/tests/meson.build
index 23a92a6cf5..c41e71f8f5 100644
--- a/app/tests/meson.build
+++ b/app/tests/meson.build
@@ -86,7 +86,7 @@ foreach test_name : app_tests
   test(test_name,
     test_exe,
     env: [
-      'GIMP_TESTING_ABS_TOP_SRCDIR='  + meson.build_root(),
+      'GIMP_TESTING_ABS_TOP_SRCDIR='  + meson.source_root(),
       'GIMP_TESTING_ABS_TOP_BUILDDIR='+ meson.build_root(),
       'GIMP_TESTING_PLUGINDIRS=' +      meson.build_root()/'plug-ins'/'common',
       'GIMP_TESTING_PLUGINDIRS_BASENAME_IGNORES=mkgen.pl',


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