diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-08 14:41:33 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-08 14:52:03 -0400 |
commit | dd9c1a0cad35082724bba59235af031246c06ce5 (patch) | |
tree | d87fae1e6ce41e19ca1b8506424c1801faf8cc7a /configure.ac | |
parent | 4228ef3194fff11dcdcdce0b61aa0474fffb066d (diff) | |
download | dconf-dd9c1a0cad35082724bba59235af031246c06ce5.tar.gz |
clean up and factor out the 'shm' code
Remove the shm code from the engine and the service and put it in a
separate convenience library in shm/.
Remove the vestigial shmdir weirdness from the service (since shmdir is
now always relative to XDG_RUNTIME_DIR and has been for some time).
The purpose of this is so that dconf-engine can be properly unit-tested.
dconf-engine now has five points of contact with the world (excluding
the users of the engine themselves):
- the DCONF_PROFILE environment variable
- fopen() of profile files
- shm
- gvdb
- dbus
The environment variable is quite easily controlled. fopen() is
intercepted in the engine testcase with a interpose of the libc symbol.
With this commit now each of dbus, gvdb and shm are implemented in
separate utility modules that can be mocked from the testcases.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 25c32da..72c35d8 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,7 @@ fi AC_CONFIG_FILES([ common/Makefile + shm/Makefile gvdb/Makefile engine/Makefile gdbus/Makefile |