#include <glibmm/thread.h>
#include "scalar_properties.h"
+#include "pbd/pbd.h"
+#include "pbd/error.h"
+#include "pbd/textreceiver.h"
int
main ()
{
- Glib::thread_init();
+ TextReceiver text_receiver ("pbd_test");
+
+ if (!PBD::init ()) return 1;
+
+ text_receiver.listen_to (PBD::error);
+ text_receiver.listen_to (PBD::info);
+ text_receiver.listen_to (PBD::fatal);
+ text_receiver.listen_to (PBD::warning);
ScalarPropertiesTest::make_property_quarks ();
CppUnit::CompilerOutputter compileroutputter (&collectedresults, std::cerr);
compileroutputter.write ();
-
+
+ PBD::cleanup ();
+
return collectedresults.wasSuccessful () ? 0 : 1;
}