37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
|
From 5a5883abe03ec2a4fab3fc97dd1f79ad33440c81 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= <nbenitezl@gmail.com>
|
||
|
Date: Mon, 24 Apr 2023 20:25:23 -0400
|
||
|
Subject: [PATCH] Rename directory 'dbusmock' to 'mock_services'
|
||
|
|
||
|
Also disable libmocklibc as it wraps linux specific functions.
|
||
|
|
||
|
Index: tests/meson.build
|
||
|
--- tests/meson.build.orig
|
||
|
+++ tests/meson.build
|
||
|
@@ -1,6 +1,6 @@
|
||
|
test('check-format', find_program('check-format.sh'))
|
||
|
|
||
|
-libmocklibc = subproject('mocklibc').get_variable('libmocklibc')
|
||
|
+#libmocklibc = subproject('mocklibc').get_variable('libmocklibc')
|
||
|
|
||
|
envs = environment()
|
||
|
# Enable debug messages and abort on critical warnings
|
||
|
@@ -8,7 +8,7 @@ envs.set('G_DEBUG', 'fatal-criticals')
|
||
|
envs.set('G_MESSAGES_DEBUG', 'all')
|
||
|
envs.set('top_srcdir', meson.source_root())
|
||
|
envs.set('top_builddir', meson.build_root())
|
||
|
-envs.set('MOCKLIBC_LD_PRELOAD', libmocklibc.full_path())
|
||
|
+#envs.set('MOCKLIBC_LD_PRELOAD', libmocklibc.full_path())
|
||
|
|
||
|
# Setup paths
|
||
|
accountsservice_build_dir = meson.build_root() / 'src' / 'libaccountsservice'
|
||
|
@@ -20,7 +20,7 @@ if get_option('introspection')
|
||
|
python3_test_modules_found = true
|
||
|
python3_test_modules = [
|
||
|
'gi',
|
||
|
- 'dbusmock',
|
||
|
+ 'XXXdbusmock',
|
||
|
]
|
||
|
|
||
|
foreach module : python3_test_modules
|