summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/datetime/meson.build2
-rw-r--r--tests/network/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/datetime/meson.build b/tests/datetime/meson.build
index c9f07877c..021036881 100644
--- a/tests/datetime/meson.build
+++ b/tests/datetime/meson.build
@@ -14,7 +14,7 @@ env = [
]
cflags = [
'-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
- '-DSRCDIR="@0@"'.format(meson.source_root() + '/panels/datetime')
+ '-DSRCDIR="@0@"'.format(meson.project_source_root() + '/panels/datetime')
]
foreach unit: test_units
diff --git a/tests/network/meson.build b/tests/network/meson.build
index e09ec5cab..a81e64753 100644
--- a/tests/network/meson.build
+++ b/tests/network/meson.build
@@ -5,7 +5,7 @@ cflags = [
'-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_WITH_GLIB',
'-DNETWORKMANAGER_COMPILATION_TEST',
- '-DTEST_NM_SERVICE="@0@"'.format(join_paths(meson.source_root(), 'tests', 'network', 'nm-utils', 'test-networkmanager-service.py')),
+ '-DTEST_NM_SERVICE="@0@"'.format(join_paths(meson.project_source_root(), 'tests', 'network', 'nm-utils', 'test-networkmanager-service.py')),
]
exe = executable(