summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2018-02-01 19:47:00 +0000
committerSimon McVittie <smcv@collabora.com>2018-02-07 07:34:35 +0000
commit7065b515271002efa8e1a4e305bc60c0f61a21d3 (patch)
treebc868a85fd5d7b6c8d12f1952e1dd567aee1c58e /cmake
parent3ccad29fba561b4321df7c9926cd4d7544dcaed0 (diff)
downloaddbus-7065b515271002efa8e1a4e305bc60c0f61a21d3.tar.gz
dbus-7065b515271002efa8e1a4e305bc60c0f61a21d3.tar.bz2
dbus-7065b515271002efa8e1a4e305bc60c0f61a21d3.zip
Add new test for waiting on pending calls in threads
Based on code contributed by Manish Narang. This is not included in the automated test suite, because it isn't reliable on heavily-loaded automatic test infrastructure like Travis-CI. Reviewed-by: Philip Withnall <withnall@endlessm.com> [smcv: Add the test to the CMake build system too, as requested] [smcv: Convert into a manual test] Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102839 (cherry picked from commit 0b1e2928606e0cf138c38e75eb248d2ed19bff15)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/test/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/test/CMakeLists.txt b/cmake/test/CMakeLists.txt
index ea1988f5..19e6eb07 100644
--- a/cmake/test/CMakeLists.txt
+++ b/cmake/test/CMakeLists.txt
@@ -112,6 +112,7 @@ if(DBUS_WITH_GLIB)
add_test_executable(test-syslog ${CMAKE_SOURCE_DIR}/../test/internals/syslog.c ${TEST_LIBRARIES})
add_test_executable(test-uid-permissions ${CMAKE_SOURCE_DIR}/../test/uid-permissions.c ${TEST_LIBRARIES})
add_helper_executable(manual-authz ${CMAKE_SOURCE_DIR}/../test/manual-authz.c ${TEST_LIBRARIES})
+ add_helper_executable(manual-test-thread-blocking ${CMAKE_SOURCE_DIR}/../test/thread-blocking.c ${TEST_LIBRARIES})
endif()
### keep these in creation order, i.e. uppermost dirs first