13
0

Call PBD::init from evoral testrunner

This is needed to set _fmode = O_BINARY for libsmf/fread and
fixes takeFiveTest on windows
This commit is contained in:
Tim Mayberry 2014-12-02 12:48:23 +07:00
parent 4b751f9e87
commit 9eb8b73b43

View File

@ -5,12 +5,12 @@
#include <cppunit/TestRunner.h>
#include <cppunit/BriefTestProgressListener.h>
#include <glibmm.h>
#include "pbd/pbd.h"
int
main()
{
Glib::thread_init();
if (!PBD::init ()) return 1;
CppUnit::TestResult testresult;