mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Call PBD::init and PBD::cleanup in pbd test executable
This commit is contained in:
parent
7338c4e242
commit
7bf392060e
1 changed files with 7 additions and 2 deletions
|
|
@ -7,11 +7,13 @@
|
|||
#include <glibmm/thread.h>
|
||||
#include "scalar_properties.h"
|
||||
|
||||
#include "pbd/pbd.h"
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
Glib::thread_init();
|
||||
if (!PBD::init ()) return 1;
|
||||
|
||||
ScalarPropertiesTest::make_property_quarks ();
|
||||
|
||||
|
|
@ -29,6 +31,9 @@ main ()
|
|||
|
||||
CppUnit::CompilerOutputter compileroutputter (&collectedresults, std::cerr);
|
||||
compileroutputter.write ();
|
||||
|
||||
|
||||
PBD::cleanup ();
|
||||
|
||||
return collectedresults.wasSuccessful () ? 0 : 1;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue