[gimp/wip/nielsdg/meson-fix-test-build: 3/3] meson: Fix envvar in tests
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/nielsdg/meson-fix-test-build: 3/3] meson: Fix envvar in tests
- Date: Sun, 10 May 2020 15:46:05 +0000 (UTC)
commit af9de29d8c2e914d081ee5fec452c58eb77cf3fb
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 b20e122c63..adbd5fbdcf 100644
--- a/app/tests/meson.build
+++ b/app/tests/meson.build
@@ -80,7 +80,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]