Fix some bits of the libardour unit tests.
git-svn-id: svn://localhost/ardour2/branches/3.0@10564 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
36ac7f3e78
commit
f60c9d52dc
|
@ -9,7 +9,7 @@ if [ ! -f './tempo.cc' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
srcdir=`pwd`
|
srcdir=`pwd`
|
||||||
cd ../../build/default
|
cd ../../build
|
||||||
|
|
||||||
libs='libs'
|
libs='libs'
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ Mantis3356Test::test ()
|
||||||
MIDI::Manager::create (engine.jack ());
|
MIDI::Manager::create (engine.jack ());
|
||||||
CPPUNIT_ASSERT (engine.start () == 0);
|
CPPUNIT_ASSERT (engine.start () == 0);
|
||||||
|
|
||||||
Session session (engine, "../../libs/ardour/test/data/mantis_3356", "mantis_3356");
|
Session session (engine, "../libs/ardour/test/data/mantis_3356", "mantis_3356");
|
||||||
engine.set_session (&session);
|
engine.set_session (&session);
|
||||||
|
|
||||||
Session::SourceMap sources = session.get_sources ();
|
Session::SourceMap sources = session.get_sources ();
|
||||||
|
@ -47,7 +47,7 @@ Mantis3356Test::test ()
|
||||||
result << *i << "\n";
|
result << *i << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
ifstream ref ("../../libs/ardour/test/data/mantis_3356.ref");
|
ifstream ref ("../libs/ardour/test/data/mantis_3356.ref");
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
string a;
|
string a;
|
||||||
|
|
|
@ -9,7 +9,7 @@ using namespace ARDOUR;
|
||||||
void
|
void
|
||||||
ResampledSourceTest::seekTest ()
|
ResampledSourceTest::seekTest ()
|
||||||
{
|
{
|
||||||
boost::shared_ptr<SndFileImportableSource> s (new SndFileImportableSource ("../../libs/ardour/test/data/test.wav"));
|
boost::shared_ptr<SndFileImportableSource> s (new SndFileImportableSource ("../libs/ardour/test/data/test.wav"));
|
||||||
ResampledImportableSource r (s, 48000, SrcBest);
|
ResampledImportableSource r (s, 48000, SrcBest);
|
||||||
|
|
||||||
/* Make sure that seek (0) has the desired effect, ie that
|
/* Make sure that seek (0) has the desired effect, ie that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user