13
0

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:
Carl Hetherington 2011-11-13 13:32:01 +00:00
parent 36ac7f3e78
commit f60c9d52dc
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ if [ ! -f './tempo.cc' ]; then
fi
srcdir=`pwd`
cd ../../build/default
cd ../../build
libs='libs'

View File

@ -30,7 +30,7 @@ Mantis3356Test::test ()
MIDI::Manager::create (engine.jack ());
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);
Session::SourceMap sources = session.get_sources ();
@ -47,7 +47,7 @@ Mantis3356Test::test ()
result << *i << "\n";
}
ifstream ref ("../../libs/ardour/test/data/mantis_3356.ref");
ifstream ref ("../libs/ardour/test/data/mantis_3356.ref");
while (1) {
string a;

View File

@ -9,7 +9,7 @@ using namespace ARDOUR;
void
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);
/* Make sure that seek (0) has the desired effect, ie that