mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Add a PBD::TextReceiver in pbd testrunner
This commit is contained in:
parent
24c40c0e88
commit
7262e16216
1 changed files with 9 additions and 2 deletions
|
|
@ -8,13 +8,21 @@
|
|||
#include "scalar_properties.h"
|
||||
|
||||
#include "pbd/pbd.h"
|
||||
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/textreceiver.h"
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
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::TestResult testresult;
|
||||
|
|
@ -35,5 +43,4 @@ main ()
|
|||
PBD::cleanup ();
|
||||
|
||||
return collectedresults.wasSuccessful () ? 0 : 1;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue