diff options
author | Ali Abdallah <ali.abdallah@suse.com> | 2020-05-15 19:15:08 +0200 |
---|---|---|
committer | Ali Abdallah <ali.abdallah@suse.com> | 2020-05-17 19:30:59 +0200 |
commit | bce38ba0d6ad45e7baa1cd2d58bd8e7ab42b82f6 (patch) | |
tree | 5c56450e0b9d4d504cb75647150bb5554c906859 /tests/tests-end | |
parent | 6e4e3704f262e35c396ffa610538244b63115c29 (diff) | |
download | xfconf-bce38ba0d6ad45e7baa1cd2d58bd8e7ab42b82f6.tar.gz |
Use a custom test-driver
Implement a custom test driver that will start the freshly compiled
xfconfd on a different dbus name. When the test finishes, gets
interrupted or exists with error, the xfconfd test instance is
terminated.
This will allows 'make check' and 'make distcheck' to be successful even
if xfconfd is not installed or running.
Diffstat (limited to 'tests/tests-end')
-rw-r--r-- | tests/tests-end/Makefile.am | 6 | ||||
-rw-r--r-- | tests/tests-end/t-tests-end.c | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/tests-end/Makefile.am b/tests/tests-end/Makefile.am new file mode 100644 index 0000000..66c92de --- /dev/null +++ b/tests/tests-end/Makefile.am @@ -0,0 +1,6 @@ +check_PROGRAMS = \ + t-tests-end + +t_tests_end_SOURCES = t-tests-end.c + +include $(top_srcdir)/tests/Makefile.inc diff --git a/tests/tests-end/t-tests-end.c b/tests/tests-end/t-tests-end.c new file mode 100644 index 0000000..caa92ab --- /dev/null +++ b/tests/tests-end/t-tests-end.c @@ -0,0 +1,8 @@ +/* It is just a dummy test in order to shutdown + * xfconfd, see tests-driver.sh for more details */ + +int +main(void) +{ + return 0; +} |