From e8ecd327326b48655a5e8af69203f7f6587ec4e8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Jul 2013 17:00:18 -0400 Subject: [PATCH] Add test for Glib::Mutex::trylock Behaviour of this method is different on WIN32 --- libs/pbd/test/testrunner.cc | 4 ++++ libs/pbd/wscript | 1 + 2 files changed, 5 insertions(+) diff --git a/libs/pbd/test/testrunner.cc b/libs/pbd/test/testrunner.cc index 1512ebd024..ea8f0aa115 100644 --- a/libs/pbd/test/testrunner.cc +++ b/libs/pbd/test/testrunner.cc @@ -4,11 +4,15 @@ #include #include #include +#include #include "scalar_properties.h" + int main () { + Glib::thread_init(); + ScalarPropertiesTest::make_property_quarks (); CppUnit::TestResult testresult; diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 797f6e2cad..2f93887e62 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -144,6 +144,7 @@ def build(bld): testobj.source = ''' test/testrunner.cc test/xpath.cc + test/mutex_test.cc test/scalar_properties.cc test/signals_test.cc test/convert_test.cc